November 2, 2009
Telerik OpenAccess ORM Q3 2009 Release Notes (v2009.03.1104)
Database db = Database.Get("DatabaseConnection1"); // do this code before an object scope is obtained |
string ddl = db.GetSchemaAdapter().CreateUpdateDDLScript(null); // using the default properties for checking differences |
if (string.IsNullOrEmpty(ddl) == false) // is there is something to migrate? |
db.GetSchemaAdapter().ExecuteDDLScript(ddl); // migrating the database" |
var q = from c
in
Scope.Extent() where c.Name ==
""
Telerik
""
select c; Console.WriteLine(q.BackendQuery);
var q = from c
in
Scope.Extent() where c.Name ==
""
Telerik
""
select c; Console.WriteLine(q.ToString());
var ext = Scope.Extent();
ext.ForwardsOnly =
true
;
ext.ParallelFetch =
true
;
ext.Debug =
false
;
ext.IgnoreUncommitted =
true
;
var result = from c
in
ext where c.Name ==
""
Telerik
""
select c;
var result = from c
in
Scope.Extent<Company>().ForwardsOnly(
true
).ParallelFetch(
true
).IgnoreUncommitted(
true
).Debug(
false
) where c.Name ==
""
Telerik
""
select c;
var query = from c
in
Scope.Extent()
select
new
MyPerson
{
Name = c.Name,
Geburtstag = c.Birthday
};
Post your feedback via the Data Access feedback portal or the public forums
See the updates feed
Get your fully functional free copy of Data Access.
Including demos and articles to get you started.
Help us shape our roadmap.