קאוד: וועל אויס אלע
ADD CONSTRAINT [Customer_timeAdded] DEFAULT (getdate()) FOR [timeAdded]
Now I want that all this default values should be visible to the user when setting up a new object in LINQ
I know that I can set "IsDBGenerated" to true & "AutoSync" to "OnInsert",However, this will only show the values after saving, I want it should be populated right after inserting the record.
As a workaround, I can setup all defaults again in LINQ in the "OnCreated" method, However, this will take me a long time to rewrite all constraints in code
Is there some utility to do that automatically?, I'm willing to pay