I'm glad to announce that DataObjects.Net 4.6.0 is released. This post provides an overview of changes and improvements in 4.6 version. They would be explained with more details in future posts.
Quick domain configuration example:
<domain name="mySqliteDomain"
providerName="sqlite"
connectionString="Data Source=mydatabase.db" />
You'll also need to add reference to Xtensive.Orm.Sqlite.dll assembly in your project.
The following examples maps model to two schemas based on entity namespaces:
<domain name="myDomainWithTwoSchemas" defaultSchema="dbo">
<mappingRules>
<rule namespace="MyApp.Model.Foo" schema="foo" />
<rule namespace="MyApp.Model.Bar" schema="bar" />
</mappingRules>
</domain>
I'll cover multi-mapping configurations in future posts.
SQLite provider
SQLite has joined the list of supported databases.Quick domain configuration example:
<domain name="mySqliteDomain"
providerName="sqlite"
connectionString="Data Source=mydatabase.db" />
You'll also need to add reference to Xtensive.Orm.Sqlite.dll assembly in your project.
Mapping to multiple schemas and even databases
Since 4.6 it's possible to map persistent model to multiple schemas and databases.The following examples maps model to two schemas based on entity namespaces:
<domain name="myDomainWithTwoSchemas" defaultSchema="dbo">
<mappingRules>
<rule namespace="MyApp.Model.Foo" schema="foo" />
<rule namespace="MyApp.Model.Bar" schema="bar" />
</mappingRules>
</domain>
I'll cover multi-mapping configurations in future posts.
Multiple schema support, you are great!
ReplyDeleteExcellent stuff! Congratulations.
ReplyDeleteEngaging content! Explore our mailbox builders near you for convenience on our website
ReplyDeleteThese updates to DataObjects.Net 4.6 sound fantastic! The addition of SQLite support, multi-schema mapping, and the simplified key generator API are all significant improvements. The focus on speed and reliability in the upgrade process is also very welcome. Thanks for sharing this overview.
ReplyDeleteSpeaking of speed and reliability, it reminds me of the importance of having dependable services in other areas as well. For instance, if you're in Melbourne and need cream chargers or nangs delivered quickly and efficiently, it's crucial to find a service you can trust. That's where nosboss.net comes in. They're known for their fast and reliable nang delivery and cream charger delivery across numerous Melbourne suburbs. Whether you're in the Melbourne CBD, Carlton, Fitzroy, Richmond, South Yarra, Prahran, St Kilda, Southbank, Docklands, Port Melbourne, or any of the surrounding areas, nosboss.net can likely get your order to you in a timely manner. If you're ever in need of a quick and reliable cream charger delivery or nang delivery in Melbourne, be sure to check out nosboss.net. They offer a great selection of products and prioritize efficient delivery, making them a convenient option for both individuals and businesses.