|Source Code Available
||November 12, 2002
||July 25, 2007
BBADataObjects is an object-to-relational mapping library that helps you in developing enterprise applications in a fast way. With BBA DataObjects you manipulate records like objects without worrying about the database schema. BBA DataObjects is completely written in C# and support SQL Server 2000, it manage automatically the 1:1, 1:N, N:N relations, it supports various filters and in-memory sorting. No more SELECT, INSERT, UPDATE or DELETE to write!
// Create new customers collection
Customers custumers = new Customers();
// Set some filters
customers.Filters.Add(new StringFilter("Name", StringOperator.Contains, "Mar"));
// Set the sorting
customers.Filters.SortField = "Name";
customers.Load(); // It will load only the customers that contain the string Mar in the name ordered by name.
// Change some data
customers[i].Name = "Emanuele";
customers[i].Address.City = "Brescia";
// Save on DB
Submit a review