2010/6/21 Ricardo Aráoz <[email protected]>:
> On 21/06/10 11:55, Stephen Russell wrote:
> By data objects in ram I assume you mean data sets. If that is so then I
> don't see anything new here. From what I see I find sql easier and more
> flexible than this approach. And as for querying data sets in ram
> there's nothing new about it.
No it is not a dataset at this point. It is a collection(set)
namespace CIMS.SC.AH
{
[DataContract(Name = "BINumber", Namespace =
"http:/schemas.cimsgts.com/SC/AH/v1.0")]
[Serializable]
public class BINumber
{
[DataMember(Name = "IndictmentNumber", Order = 1, IsRequired = true)]
public String indictmentNumber
{ set; get; }
[DataMember(Name = "BookingNumber", Order = 1, IsRequired = true)]
public int bookingNumber
{ set; get; }
[DataMember(Name = "DaysInJail", Order = 1, IsRequired = true)]
public int DaysInJail
{ set; get; }
[DataMember(Name = "Sentence", Order = 1, IsRequired = true)]
public List<Sentence> Dispositions
{ set; get; }
[DataMember(Name = "ChargeLine", Order = 1, IsRequired = true)]
public List<ChargeLine > ChargeLines
{ set; get; }
[DataMember(Name = "ErrMessage", Order = 1, IsRequired = true)]
public String errMessage
{ set; get; }
}
}
The last 2 members of this class are list collections themselves.
This class will be used to create a List<BINumber> of may arrests that
someone could have had depending on if they are a repeat customer or
not.
It could have 0 , 1, N # of contents. So it is not a dataset.
> Still fail to see any real advantage to all this. If it's just another
> ORM, might just as well say it and get done with it.
ORM ;->
But it is very flexible because it can be used between Data in a db,
Data in XML or Data in Ram.
That is more then an ORM to me.
--
Stephen Russell
Sr. Production Systems Programmer
CIMSgts
901.246-0159 cell
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.