Xaf tip #2

Έχουν δημοσιευτεί 02 Αυγούστου 09 11:09 πμ | tolisss 
Just come back from my short holidays this year and I am feeling very relaxed. So I though I should continue my Xaf tips series as I encounter them in my every day work. Be carefull of DevExpress.ExpressApp.DC.TypesInfo.FindTypeInfo method I am only going to say that each time you call the above method if the typeInfo that you expect to get back is not redistered on the system, a new one is going to be created and returned to you. so typesInfo.FindTypeInfo(typeof(Person))!=typesInfo.PersistentTypes.Where(info => info.Type==typeof(Person)).SingleOrDefault() and for you to imagine any kind of conflict you like take into account that a new table named Person is going to be created at your db with the following line if (typesInfo.FindTypeInfo(typeof(Person))!=null)

Διαβάστε περισσότερα »

Δημοσίευση στην κατηγορία: , ,

Σχόλια:

Χωρίς Σχόλια
Έχει απενεργοποιηθεί η προσθήκη σχολίων από ανώνυμα μέλη

Search

Go

Το Ιστολόγιο

Ιστορικό Δημοσιεύσεων

Συνδρομές