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
|
Hi, I have the following entity attribute : [Table("tblammeffects", IdColumnName="ammeffectid", Schema="jocwatch", IdentityMethod=IdentityMethod.Sequence)] I have also set the context IdentityMethod property to IdentityMethod.MultiSequence; as indicated in one of the thread related to sequences. It seems that the method "GetMultiSequenceName" is never called... As a workaround I have edited the lightspeed diagram xml file to force IdentityMethod to MultiSequence. The method GetMultiSequenceName is called but the problem is that it is overwritten when i edit my model and teh design of an entity does not let me set the IdentityMethod to MultiSequence. Can you please help me?
Regards,
|
|
|
This occurs because you are overriding the context identity method (MultiSequence) with a entity-level identity method (Sequence). The Sequence method takes priority over MultiSequence (and results in calling GetSequenceName instead of GetMultiSequenceName). In the designer, change the Identity Method on the entity to Default. This will make it take up the context identity method (MultiSequence) which is what you want. Alternatively, if you need to specify MultiSequence on individual entities, this will be supported in the next nightly build of the designer. However this is not normally useful -- it is more usual to set MultiSequence at the context level as you are doing. |
|