Create a default value for a property using fluent interface
Posted: Mon 31 Oct 2011 05:09
Im using EF 4.1 code first. I need to define a sequence to use for Oracle when an insert is made for an auto generated column.
This post:
http://www.devart.com/blogs/dotconnect/ ... ggers.html
Shows me how to do it with configuration:
devart:DefaultValue="MY_SEQUENCE.NEXTVAL"
But how would I define this using the fluent interface?
Thanks
This post:
http://www.devart.com/blogs/dotconnect/ ... ggers.html
Shows me how to do it with configuration:
devart:DefaultValue="MY_SEQUENCE.NEXTVAL"
But how would I define this using the fluent interface?
Thanks