|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ObjectSpaces is realy good?Hey, I have been using a tool for generating persisting classes (its called
MyGeneration)...I not even use DAAB (I was rather creating my own DAAB). Now MS says ObjectSpaces is a good integrated O/RM tool, that will eliminate any needs for writing SQL queries...should I trust this ??? Cause, I am about to start a new huge project and wouldnt be happy to throw all away in the middle of the way if decision is not the right one.... What do u think about? ObjectSpaces was never delivered. Instead there will be DLinq (Linq for Sql)
in a year time or so. If you need an ORM now, I suggest a 3rd party one. -- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "Bruce One" <r***@virtualsoftware.com.br> wrote in message news:0AD611C1-0C0E-4310-AEF8-19AFBC4BC29B@microsoft.com... > Hey, I have been using a tool for generating persisting classes (its > called > MyGeneration)...I not even use DAAB (I was rather creating my own DAAB). > Now > MS says ObjectSpaces is a good integrated O/RM tool, that will eliminate > any > needs for writing SQL queries...should I trust this ??? Cause, I am about > to > start a new huge project and wouldnt be happy to throw all away in the > middle > of the way if decision is not the right one.... > > What do u think about? OK, I will continue using my own code generator then. I am using my own DAAB,
the problem is that I use OLEDB Provider to connect either to Oracle, SQLSrv or MySQL...do u think opting for MS DAAB this would be really solved (I mean DB independency..) ? Show quote "Miha Markic [MVP C#]" wrote: > ObjectSpaces was never delivered. Instead there will be DLinq (Linq for Sql) > in a year time or so. > If you need an ORM now, I suggest a 3rd party one. > > -- > Miha Markic [MVP C#, INETA Country Leader for Slovenia] > RightHand .NET consulting & development www.rthand.com > Blog: http://cs.rthand.com/blogs/blog_with_righthand/ > > "Bruce One" <r***@virtualsoftware.com.br> wrote in message > news:0AD611C1-0C0E-4310-AEF8-19AFBC4BC29B@microsoft.com... > > Hey, I have been using a tool for generating persisting classes (its > > called > > MyGeneration)...I not even use DAAB (I was rather creating my own DAAB). > > Now > > MS says ObjectSpaces is a good integrated O/RM tool, that will eliminate > > any > > needs for writing SQL queries...should I trust this ??? Cause, I am about > > to > > start a new huge project and wouldnt be happy to throw all away in the > > middle > > of the way if decision is not the right one.... > > > > What do u think about? > > > DAAB can help out, but look at www.llblgenpro.com or www.deklarit.com - they
do a superb job here. Show quote "Bruce One" <r***@virtualsoftware.com.br> wrote in message news:9CDB57EE-1DC5-4222-9D36-8F15CC378CC5@microsoft.com... > OK, I will continue using my own code generator then. I am using my own > DAAB, > the problem is that I use OLEDB Provider to connect either to Oracle, > SQLSrv > or MySQL...do u think opting for MS DAAB this would be really solved (I > mean > DB independency..) ? > > "Miha Markic [MVP C#]" wrote: > >> ObjectSpaces was never delivered. Instead there will be DLinq (Linq for >> Sql) >> in a year time or so. >> If you need an ORM now, I suggest a 3rd party one. >> >> -- >> Miha Markic [MVP C#, INETA Country Leader for Slovenia] >> RightHand .NET consulting & development www.rthand.com >> Blog: http://cs.rthand.com/blogs/blog_with_righthand/ >> >> "Bruce One" <r***@virtualsoftware.com.br> wrote in message >> news:0AD611C1-0C0E-4310-AEF8-19AFBC4BC29B@microsoft.com... >> > Hey, I have been using a tool for generating persisting classes (its >> > called >> > MyGeneration)...I not even use DAAB (I was rather creating my own >> > DAAB). >> > Now >> > MS says ObjectSpaces is a good integrated O/RM tool, that will >> > eliminate >> > any >> > needs for writing SQL queries...should I trust this ??? Cause, I am >> > about >> > to >> > start a new huge project and wouldnt be happy to throw all away in the >> > middle >> > of the way if decision is not the right one.... >> > >> > What do u think about? >> >> >> But LLbgen is charged. If I chose for a ORM solution I would prefer using
NHibernate, that is free... But consider I have my own persistence classes, that on its turn access DAAB. Should I use MS DAAB or its not necessary at all??? Show quote "W.G. Ryan eMVP" wrote: > DAAB can help out, but look at www.llblgenpro.com or www.deklarit.com - they > do a superb job here. > "Bruce One" <r***@virtualsoftware.com.br> wrote in message > news:9CDB57EE-1DC5-4222-9D36-8F15CC378CC5@microsoft.com... > > OK, I will continue using my own code generator then. I am using my own > > DAAB, > > the problem is that I use OLEDB Provider to connect either to Oracle, > > SQLSrv > > or MySQL...do u think opting for MS DAAB this would be really solved (I > > mean > > DB independency..) ? > > > > "Miha Markic [MVP C#]" wrote: > > > >> ObjectSpaces was never delivered. Instead there will be DLinq (Linq for > >> Sql) > >> in a year time or so. > >> If you need an ORM now, I suggest a 3rd party one. > >> > >> -- > >> Miha Markic [MVP C#, INETA Country Leader for Slovenia] > >> RightHand .NET consulting & development www.rthand.com > >> Blog: http://cs.rthand.com/blogs/blog_with_righthand/ > >> > >> "Bruce One" <r***@virtualsoftware.com.br> wrote in message > >> news:0AD611C1-0C0E-4310-AEF8-19AFBC4BC29B@microsoft.com... > >> > Hey, I have been using a tool for generating persisting classes (its > >> > called > >> > MyGeneration)...I not even use DAAB (I was rather creating my own > >> > DAAB). > >> > Now > >> > MS says ObjectSpaces is a good integrated O/RM tool, that will > >> > eliminate > >> > any > >> > needs for writing SQL queries...should I trust this ??? Cause, I am > >> > about > >> > to > >> > start a new huge project and wouldnt be happy to throw all away in the > >> > middle > >> > of the way if decision is not the right one.... > >> > > >> > What do u think about? > >> > >> > >> > > > "Bruce One" <r***@virtualsoftware.com.br> wrote in message MS DAAB is only a layer above ado.net. Everything MS DAAB does can be done news:475F27E2-58E0-41B0-8A0C-7D2C5877E53B@microsoft.com... > But LLbgen is charged. If I chose for a ORM solution I would prefer using > NHibernate, that is free... > But consider I have my own persistence classes, that on its turn access > DAAB. Should I use MS DAAB or its not necessary at all??? with ado.net. -- Miha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ Bruce One wrote:
> But LLbgen is charged. If I chose for a ORM solution I would prefer It's only free, if your time is free, Bruce :)> using NHibernate, that is free... FB Show quote > But consider I have my own persistence classes, that on its turn > access DAAB. Should I use MS DAAB or its not necessary at all??? > > "W.G. Ryan eMVP" wrote: > > > DAAB can help out, but look at www.llblgenpro.com or > > www.deklarit.com - they do a superb job here. > > "Bruce One" <r***@virtualsoftware.com.br> wrote in message > > news:9CDB57EE-1DC5-4222-9D36-8F15CC378CC5@microsoft.com... > > > OK, I will continue using my own code generator then. I am using > > > my own DAAB, > > > the problem is that I use OLEDB Provider to connect either to > > > Oracle, SQLSrv > > > or MySQL...do u think opting for MS DAAB this would be really > > > solved (I mean > > > DB independency..) ? > > > > > > "Miha Markic [MVP C#]" wrote: > > > > > >> ObjectSpaces was never delivered. Instead there will be DLinq > > (Linq for >> Sql) > > >> in a year time or so. > > >> If you need an ORM now, I suggest a 3rd party one. > > > > > > >> -- > > >> Miha Markic [MVP C#, INETA Country Leader for Slovenia] > > >> RightHand .NET consulting & development www.rthand.com > > >> Blog: http://cs.rthand.com/blogs/blog_with_righthand/ > > > > > > >> "Bruce One" <r***@virtualsoftware.com.br> wrote in message > > >> news:0AD611C1-0C0E-4310-AEF8-19AFBC4BC29B@microsoft.com... > > >> > Hey, I have been using a tool for generating persisting > > classes (its >> > called > > >> > MyGeneration)...I not even use DAAB (I was rather creating my > > own >> > DAAB). > > >> > Now > > >> > MS says ObjectSpaces is a good integrated O/RM tool, that will > > >> > eliminate > > >> > any > > >> > needs for writing SQL queries...should I trust this ??? Cause, > > I am >> > about > > >> > to > > >> > start a new huge project and wouldnt be happy to throw all > > away in the >> > middle > > >> > of the way if decision is not the right one.... > > >> > > > >> > What do u think about? -- ------------------------------------------------------------------------ Lead developer of LLBLGen Pro, the productive O/R mapper for .NET LLBLGen Pro website: http://www.llblgen.com My .NET blog: http://weblogs.asp.net/fbouma Microsoft MVP (C#) ------------------------------------------------------------------------ LLBLGen Pro cost about $300 for the entire organization, so while it does
cost something, it is very cheap. I am not against nHibernate, but it does have a steeper learning curve and requires a lot of hand work to set up the description file to create your classes. Of course, tools like MyGeneration can fill in the gap, but there is a bit of a learning curve for MyGeneration, as well (not as steep as nHibernate). -- Show quoteGregory A. Beamer ************************************************* Think Outside the Box! ************************************************* "Bruce One" <r***@virtualsoftware.com.br> wrote in message news:475F27E2-58E0-41B0-8A0C-7D2C5877E53B@microsoft.com... > But LLbgen is charged. If I chose for a ORM solution I would prefer using > NHibernate, that is free... > But consider I have my own persistence classes, that on its turn access > DAAB. Should I use MS DAAB or its not necessary at all??? > > "W.G. Ryan eMVP" wrote: > >> DAAB can help out, but look at www.llblgenpro.com or www.deklarit.com - >> they >> do a superb job here. >> "Bruce One" <r***@virtualsoftware.com.br> wrote in message >> news:9CDB57EE-1DC5-4222-9D36-8F15CC378CC5@microsoft.com... >> > OK, I will continue using my own code generator then. I am using my own >> > DAAB, >> > the problem is that I use OLEDB Provider to connect either to Oracle, >> > SQLSrv >> > or MySQL...do u think opting for MS DAAB this would be really solved (I >> > mean >> > DB independency..) ? >> > >> > "Miha Markic [MVP C#]" wrote: >> > >> >> ObjectSpaces was never delivered. Instead there will be DLinq (Linq >> >> for >> >> Sql) >> >> in a year time or so. >> >> If you need an ORM now, I suggest a 3rd party one. >> >> >> >> -- >> >> Miha Markic [MVP C#, INETA Country Leader for Slovenia] >> >> RightHand .NET consulting & development www.rthand.com >> >> Blog: http://cs.rthand.com/blogs/blog_with_righthand/ >> >> >> >> "Bruce One" <r***@virtualsoftware.com.br> wrote in message >> >> news:0AD611C1-0C0E-4310-AEF8-19AFBC4BC29B@microsoft.com... >> >> > Hey, I have been using a tool for generating persisting classes (its >> >> > called >> >> > MyGeneration)...I not even use DAAB (I was rather creating my own >> >> > DAAB). >> >> > Now >> >> > MS says ObjectSpaces is a good integrated O/RM tool, that will >> >> > eliminate >> >> > any >> >> > needs for writing SQL queries...should I trust this ??? Cause, I am >> >> > about >> >> > to >> >> > start a new huge project and wouldnt be happy to throw all away in >> >> > the >> >> > middle >> >> > of the way if decision is not the right one.... >> >> > >> >> > What do u think about? >> >> >> >> >> >> >> >> >> Cowboy (Gregory A. Beamer) wrote:
> LLBLGen Pro cost about $300 for the entire organization, so while it We changed the licensing policy since v2 has been released (which was> does cost something, it is very cheap. on July 1st): all people operating the designer have to have a valid license. :) FB -- ------------------------------------------------------------------------ Lead developer of LLBLGen Pro, the productive O/R mapper for .NET LLBLGen Pro website: http://www.llblgen.com My .NET blog: http://weblogs.asp.net/fbouma Microsoft MVP (C#) ------------------------------------------------------------------------ I would like to know how joins (2 or more tables involved) are treated by
LLBGen, either how to write client code or how LLBGen deals with LLbGen persistence classes for this purpose... Show quote "Frans Bouma [C# MVP]" wrote: > Cowboy (Gregory A. Beamer) wrote: > > > LLBLGen Pro cost about $300 for the entire organization, so while it > > does cost something, it is very cheap. > > We changed the licensing policy since v2 has been released (which was > on July 1st): all people operating the designer have to have a valid > license. :) > > FB > > -- > ------------------------------------------------------------------------ > Lead developer of LLBLGen Pro, the productive O/R mapper for .NET > LLBLGen Pro website: http://www.llblgen.com > My .NET blog: http://weblogs.asp.net/fbouma > Microsoft MVP (C#) > ------------------------------------------------------------------------ > Why don't you download the trial version located at
http://www.llblgen.com/pages/demo.aspx Make sure you check the (excellent) documentation, too. -- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "Bruce One" <r***@virtualsoftware.com.br> wrote in message news:96F191B9-A39F-4760-8C81-32C7B8553A42@microsoft.com... >I would like to know how joins (2 or more tables involved) are treated by > LLBGen, either how to write client code or how LLBGen deals with LLbGen > persistence classes for this purpose... > > "Frans Bouma [C# MVP]" wrote: > >> Cowboy (Gregory A. Beamer) wrote: >> >> > LLBLGen Pro cost about $300 for the entire organization, so while it >> > does cost something, it is very cheap. >> >> We changed the licensing policy since v2 has been released (which was >> on July 1st): all people operating the designer have to have a valid >> license. :) >> >> FB >> >> -- >> ------------------------------------------------------------------------ >> Lead developer of LLBLGen Pro, the productive O/R mapper for .NET >> LLBLGen Pro website: http://www.llblgen.com >> My .NET blog: http://weblogs.asp.net/fbouma >> Microsoft MVP (C#) >> ------------------------------------------------------------------------ >> I did that, but I had some problems on referencing dlls. I asked that
question (how LLBGen treats joins), cause I saw most O/R mappers usually have problems concerning this, and pass to user (developer) the task for writing these entire queries sometimes... Show quote "Miha Markic [MVP C#]" wrote: > Why don't you download the trial version located at > http://www.llblgen.com/pages/demo.aspx > Make sure you check the (excellent) documentation, too. > > -- > Miha Markic [MVP C#, INETA Country Leader for Slovenia] > RightHand .NET consulting & development www.rthand.com > Blog: http://cs.rthand.com/blogs/blog_with_righthand/ > > "Bruce One" <r***@virtualsoftware.com.br> wrote in message > news:96F191B9-A39F-4760-8C81-32C7B8553A42@microsoft.com... > >I would like to know how joins (2 or more tables involved) are treated by > > LLBGen, either how to write client code or how LLBGen deals with LLbGen > > persistence classes for this purpose... > > > > "Frans Bouma [C# MVP]" wrote: > > > >> Cowboy (Gregory A. Beamer) wrote: > >> > >> > LLBLGen Pro cost about $300 for the entire organization, so while it > >> > does cost something, it is very cheap. > >> > >> We changed the licensing policy since v2 has been released (which was > >> on July 1st): all people operating the designer have to have a valid > >> license. :) > >> > >> FB > >> > >> -- > >> ------------------------------------------------------------------------ > >> Lead developer of LLBLGen Pro, the productive O/R mapper for .NET > >> LLBLGen Pro website: http://www.llblgen.com > >> My .NET blog: http://weblogs.asp.net/fbouma > >> Microsoft MVP (C#) > >> ------------------------------------------------------------------------ > >> > > > Can I reach u through msn ou skype?
Show quote "Miha Markic [MVP C#]" wrote: > Why don't you download the trial version located at > http://www.llblgen.com/pages/demo.aspx > Make sure you check the (excellent) documentation, too. > > -- > Miha Markic [MVP C#, INETA Country Leader for Slovenia] > RightHand .NET consulting & development www.rthand.com > Blog: http://cs.rthand.com/blogs/blog_with_righthand/ > > "Bruce One" <r***@virtualsoftware.com.br> wrote in message > news:96F191B9-A39F-4760-8C81-32C7B8553A42@microsoft.com... > >I would like to know how joins (2 or more tables involved) are treated by > > LLBGen, either how to write client code or how LLBGen deals with LLbGen > > persistence classes for this purpose... > > > > "Frans Bouma [C# MVP]" wrote: > > > >> Cowboy (Gregory A. Beamer) wrote: > >> > >> > LLBLGen Pro cost about $300 for the entire organization, so while it > >> > does cost something, it is very cheap. > >> > >> We changed the licensing policy since v2 has been released (which was > >> on July 1st): all people operating the designer have to have a valid > >> license. :) > >> > >> FB > >> > >> -- > >> ------------------------------------------------------------------------ > >> Lead developer of LLBLGen Pro, the productive O/R mapper for .NET > >> LLBLGen Pro website: http://www.llblgen.com > >> My .NET blog: http://weblogs.asp.net/fbouma > >> Microsoft MVP (C#) > >> ------------------------------------------------------------------------ > >> > > > Bruce One wrote:
> I would like to know how joins (2 or more tables involved) are Get all customers who have an order filed by employee with ID 2> treated by LLBGen, either how to write client code or how LLBGen > deals with LLbGen persistence classes for this purpose... EntityCollection<CustomerEntity> customers = new EntityCollection(new CustomerEntityFactory()); RelationPredicateBucket filter = new RelationPredicateBucket(); filter.Relations.Add(CustomerEntity.Relations.OrderEntityUsingCustomerId ); filter.PredicateExpression.Add(OrderFields.EmployeeId == 2); using(DataAccessAdapter adapter = new DataAccessAdapter()) { adapter.FetchEntityCollection(customers, filter); } This fetches customer entity objects into the generic collection customers. It filters these customers using a relation and a filter on a related entity, order. It adds a relation object to specify which relation to use. The Add() method on the Relations property has also overloads which allow you to specify aliases and joinhints like LEFT/RIGHT or INNER (default) Frans > > "Frans Bouma [C# MVP]" wrote: > > > Cowboy (Gregory A. Beamer) wrote: > > > > > LLBLGen Pro cost about $300 for the entire organization, so while > > > it does cost something, it is very cheap. > > > > We changed the licensing policy since v2 has been released (which > > was on July 1st): all people operating the designer have to have a > > valid license. :) -- ------------------------------------------------------------------------ Lead developer of LLBLGen Pro, the productive O/R mapper for .NET LLBLGen Pro website: http://www.llblgen.com My .NET blog: http://weblogs.asp.net/fbouma Microsoft MVP (C#) ------------------------------------------------------------------------ |
|||||||||||||||||||||||