Thursday, November 6, 2008

Switch to the persistency framework Data Objects.NET 4.0

Long time ago I've decided to use DataObjects.NET as ORM framework. The content management of our company homepage www.mse-it.de relies soley on it. It also uses some JQuery plugins for layouting. You can find them on my private homepage under JQuery Projects.

A view months ago they announced the new 4.0 version. It is licenced under GPL and comes along with some propertiary licence models. It is a awesome framework, with goundbreaking changes to any ORM i know.

But i miss some important things:
  • Syncronsiation or replication like SQL - but on the level of business objects
  • Update and upgrade support
  • Backup and resorte support
So i've decided to use syncronsation and distribution knowledge from our software for travel agencies (comes with replication, backup update and so on) and build a framework for it that is able to:
  • Syncronize
  • Backup
  • Deploy
In the moment i am working on syncronisation and update issues. Because x-tensive follows the "sorce code is source of everything" (SCSE) pattern, i will do too.

Here is a sample class form my NUnit tests:


[Sync]
class TestEntity : SyncEntity
{
[Field]
[RevAdd(Rev.B_0_1)]
public string Payload { get; set; }

[Field]
[RevAdd(Rev.B_0_1)]
[RevRenamed("FieldNoSync",Rev.B_0_1)]
[SyncVersionNoUpdate]
public string FieldWithSyncVersionNoUpdate { get; set; }

public string NoFieldProperty
{
get { return ""; }
set {}
}
}

The RevXXX (Revision) attributes will tell the framework when a property is introduced, deleted or the name changed. So the backup and synchronization layer can automatically do the necessary transformations between the versions.

13 comments:

Unknown said...

Thomas, if we could discuss possible ways of joining the efforts here, I'd be glad. We're planning to start working on schema upgrade in the end of November \ December now, and actually already did a significant part of this in SqlDom. If there is a common vision, it could help both sides.

Please skype me (Skype: alexyakunin) when the time will permit.

Aura Romano said...

Every single one of the itemsDamenmode showcased inside our comments is available for purchase upon Amazon as of your day evaluation is actually printed, therefore you will always be able to get precisely what you’re searching for in one in our newest releases. They will deal that offer individual huge discounts on specific products, and you should pounce on these types of opportunities prior to their purchase period of time would wear aside….

Eliza said...

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done. abgaswärmetauscher

jack said...

I enjoy a straight and clear conversation. In available discussion posts, I can very best find out how I could optimally give you support inside the staff area.interim hr manager

Eliza Beth said...

This is actually the kind of information I have been trying to find. Thank you for writing this information. Profi Fachübersetzungen GmbH

Gladys Bane said...

Nice service. Easy and straightforward to kind was required and delivered all details given at the site https://deutschemedz.de . This was a home purchase and can still use United Kingdom Meds in future

Duurzame-vrouw said...

Verzekeraar zorg
verzekeraar is volgens Mevrouw Merkel voegde eraan toe dat de ​schoenenbank video-publisher YouTube een 95% toename had gezien in de vraag naar nieuws uit "gezaghebbende" bronnen.

Facebook
Vorige week kondigde Facebook aan dat gebruikers die valse Covid-19- informatie hadden gelezen. afweersysteem laag had of gedeeld, een pop-up waarschuwing zouden ontvangen waarin ze werden aangespoord de website van de WHO te bezoeken. Vanaf een bartafel met krukken of vanaf een keuken trolley .

Borstkanker
borstkanker is nog steeds de grootste boosdoener, volgens ​nico mul ​van orthokennis.


Baas7 said...
This comment has been removed by the author.
Baas7 said...
This comment has been removed by the author.
Baas7 said...

Zorg ervoor dat je positief blijft, ook al is zij negatief. Het is dus vooral voor jezelf bedoelt dat je positief bent. Niet voor haar. Je kan bijvoorbeeld grapjes maken ten koste van haar of Serieus flirten. Dit werkt heel goed.

Catapult44 said...

Bestel 3-MMC

U kunt bij ons 3-MMC bestellen met een zuiverheid van 98%. In onze webshop is het geen probleem om Research Chemicals te kopen. Het product is alleen bedoeld voor onderzoeksdoeleinden en wordt niet verkocht voor consumptiedoeleinden. Door 3-MMC te kopen, gaat u automatisch akkoord met onze algemene voorwaarden waarin staat dat u het product alleen koopt voor onderzoeksdoeleinden en dat het product niet wordt gebruikt voor consumptiedoeleinden. Het is daarom alleen bedoeld om te onderzoeken of de analyse-ontleding overeenkomt met die van 4-MMC. We kunnen hier geen uitspraak over doen, maar de stof van 3-MMC is gevoeliger voor de neus, dus let tijdens het onderzoek op, draag bijvoorbeeld een masker dat ook over je neus te plaatsen is;).

U kunt bij ons 3mmc kopen 3-MMC is verkrijgbaar in poeder-, vloeistof-, capsule- en pelletvorm. Wij zorgen ervoor dat u uw onderzoek perfect kunt uitvoeren want onze 3-Methylmethcathinone is van de hoogste kwaliteit! Wanneer we nieuwe producten ontvangen, laten we dit eerst testen door ons lab voordat ze in de webshop terecht komen.

mohit said...

Thank you so much for sharing this pretty blog, it was so good to read and useful to improve my knowledge as
post

Unknown said...

Casino games on king slot machine | The best casino game
A guide to playing the most air jordan 18 retro yellow popular slots and jackpots online. jordan 18 white royal blue from me Find out how to play on 바다이야기 사이트 king slot machine for where to find air jordan 18 stockx free at air jordan 18 retro red from my site Jordan8-retro.