Gayan Perera escreveu: > Dear Frnds, Hello .. > > i'm looking for better persistence framework for my C# Project. > i came across OJB.NET <http://OJB.NET> and NHibernate , since i haven't > use niether of those, I m and another friends working on a framework.. Is a simple framework .. is diferent from a NHibernate.. It dont use XML files to configure a database map..
Take a Look http://monobrasil.sl.org.br/wiki/CsDO My project call CSharpData Object.. CSDO use a Properties in C# class to make a DataBase map. like this: public class Prospecs : DataObject { private string name; private string email; private int id; public string Email { get { return email; } set { email = value;} } public int Id { get { return id; } set { id = value; } } public string Nome { get { return name; } set { name = value; } } public Prospecs() { } If your database fields.. has a diferent name of class atributes you can make map with labes in properties.. like this.. public class Prospecs : DataObject { private string name; private string email; private int id; [colunm("emailProspecs")] public string Email { get { return email; } set { email = value;} } [colunm("code"),Autoinc] public int Id { get { return id; } set { id = value; } } [colunm("Name")] public string Nome { get { return name; } set { name = value; } } public Prospecs() { } We have online portuguese documentation.. If you need i can translate to you.. You can get a source code from a Mono Brazil SVN server svn co https://svn.sl.org.br:8083/CsDO CSDO suport today : - SQLServer , DB4O , Postgresql, Mysql] - Autoincrement fields - Link table - Insert, delete, updade, find .. etc.. > i would appreciate if some one tells me which is the best to use, who > have experience with one of those. > > thank you, > Gayan. > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
