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
|
I'm using Oracle 11g database, and I have created a table
which uses a sequence for the PK value
However I get the following error when saving: unitOfWork.SaveChanges();
In my web.config file, I have the identityMethod set to "Sequence".
What am I missing here? Thanks, Carl |
|
|
I updated the Entity's Identity Method property to be "Sequence" in the data model. ORA-02289: sequence does not exist Where is the documentation for this? I've search MindScape's web site and nothing shows up. Not even sample code. Arg!!! How do I specify the sequence when adding a new Entity. |
|
|
I got this working by running the following line within Oracle 9:
|
|
|
FYI here is the docs page which details some more about identity methods and their use: http://www.mindscapehq.com/documentation/lightspeed/Controlling-the-Database-Mapping/Identity-Generation
|
|