MatsSoft ObjectMapper RequestTracker http://www.npersist.com/RequestTracker/Default.aspx Feature Request Tracker for MatsSoft ObjectMapper Users Copyright 2005 by Mats Helander en-us mats.helander@matssoft.com mats.helander@matssoft.com Thu, 04 Aug 2005 08:08:00 GMT en-us Copyright 2005 by Mats Helander Thu, 04 Aug 2005 08:08:00 GMT Mats Helander Hourly 24 1970-01-01T00:00+00:00 <![CDATA[Updated Documentation - Please disregard]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=13 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=13 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=13 ryan peters Thu, 04 Aug 2005 08:08:00 GMT ryan peters Discussion ObjectMapper FeatureRequestTracker
Many Thanks! ]]>
1 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=13
<![CDATA[Exception "blaa" being thrown!]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=11 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=11 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=11 Jason Hill Fri, 15 Apr 2005 23:45:22 GMT Jason Hill Discussion ObjectMapper FeatureRequestTracker
Line 469 of Parser.cs throws an exception "blaa" when I incorrectly use the <> comparison operator instead of !=. Not a major problem although it would have been nice to have a more meaningful exception so that I didn't have to step through the code to see what was going on!!

Cheers,

Jason]]>
1 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=11
<![CDATA[Flat domain model]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=10 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=10 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=10 TOMER DROR Wed, 23 Mar 2005 06:47:56 GMT TOMER DROR Discussion ObjectMapper FeatureRequestTracker I will try to explain what I mean by saying Flat domain model:

My system need to integrate with many database in which each schema is different
for example I have a data base which the domain model is represent by the following classes


Class City
{
int Id
string Name
}


Class Contact
{
City city
}


what I want to be able to do is to expose a 'universal' contact like the following

Class Contact
{
string cityName
}


and let NPersist do the hard job for me

Thanks.

]]>
1 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=10
<![CDATA[NPath query to SQL query conversion (1.0.6)]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=9 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=9 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=9 Fran Pregernik Sun, 06 Mar 2005 11:43:58 GMT Fran Pregernik Discussion ObjectMapper FeatureRequestTracker
Some databases like Firebird don't approve with "[" brackets that are created in that conversion. I am making an engine for Firebird embedded.

You should think about making this conversion database dependant!]]>
5 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=9
<![CDATA[Getting all objects of a type without query]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=8 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=8 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=8 Steven Miller Mon, 28 Feb 2005 08:43:34 GMT Steven Miller Discussion ObjectMapper FeatureRequestTracker
IList list = manager.GetObjects(typeof(SomeClass));]]>
1 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=8
<![CDATA[Ad Hoc sql queries]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=7 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=7 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=7 Roger Johansson Mon, 28 Feb 2005 07:35:16 GMT Roger Johansson Discussion ObjectMapper FeatureRequestTracker
eg:

DataTable dt = context.RunStoredProc("spBla",param array);
DataTable dt = context.RunSQL("select * from tblBla");

//Roger


]]>
0 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=7
<![CDATA[Enums]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=6 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=6 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=6 Roger Johansson Mon, 28 Feb 2005 07:33:16 GMT Roger Johansson Discussion ObjectMapper FeatureRequestTracker
It is quite common with static tables with just an ID and a Name , such tables could be replaced with an enum.

sample (how it works now)

UserRole role = ctx.getobject(....fetch admin role...);
User.Role = role; //assign the admin role to the user

sample (how I want it to work)

User.Role = UserRoles.Admin;

where the userroles enum reflects the contents of the static UserRole table.

This would work also if there was no static table , eg if the User class/table only rely on magic numbers.

//Roger]]>
1 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=6
<![CDATA[Remember me]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=5 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=5 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=5 Andreas HÃ¥kansson Sun, 27 Feb 2005 14:09:56 GMT Andreas HÃ¥kansson Discussion ObjectMapper FeatureRequestTracker 2 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=5 <![CDATA[Ad Hoc NPath queries]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=3 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=3 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=3 Roger Johansson Wed, 23 Feb 2005 05:05:18 GMT Roger Johansson Discussion ObjectMapper FeatureRequestTracker
(pretty much similair to the ExecuteScalar but a complete resultset)

this would to some extent eliminate the need for a Domain Model -> Presentation Model mapper.

I could instead just select readonly data through a query and still have the benefit of separating the query from the DB schema.

//Roger]]>
1 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=3
<![CDATA[Managed list and .Count]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=2 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=2 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=2 Roger Johansson Mon, 21 Feb 2005 01:24:29 GMT Roger Johansson Discussion ObjectMapper FeatureRequestTracker (but ofcourse it should use the contents when loaded)]]> 1 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=2 <![CDATA[make it possible to use db level cascading deletes]]> http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=1 http://www.npersist.com/RequestTracker/ShowRequest.aspx?RequestID=1 http://www.npersist.com/Forum/ShowRequest.aspx?RequestID=1 Roger Johansson Sun, 20 Feb 2005 05:25:02 GMT Roger Johansson Discussion ObjectMapper FeatureRequestTracker
I would like to see an option to disable this , making npersist trust cascading deletes in the db.]]>
2 http://www.npersist.com/RequestTracker/rssComments.aspx?RequestID=1