This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Since i am using now the strong-typed unitOfWork i have a small question about pluralizing collection names. Some Entities are spelled in german, so the pluralizing does not work always, e.g. Entity: Auftrag then LS generates public System.Linq.IQueryable<Auftrag> Auftrags better would be: public System.Linq.IQueryable<Auftrag> Auftraege When using assoziation i can define the collection name. is this possible here also. Ok, i could write an own partial class to do this, but maybe there is a little trick to do this quite easier. Best regards Markus |
|
|
No, I'm afraid there's no trick to do this for you -- LightSpeed only knows about English pluralisation. If you know of an Inflector-like pluralisation library for German then please drop us a link and we'll look into it as a post-3.0 feature (no promises though). |
|
|
Oh, i think the german pluralisation is much more complicated than the englisch. In general we implement most code in english, but sometimes there are german one. So if there would be entity property like "Collection Name" that would be enough. Per default the english pluralisation should be used. If there is an exception the user could define it. |
|