This project is read-only.
1

Closed

Default Value Generation for a Date/SQLMetal Consistency

description

When there database defines a default value for a date:
 
[CreatedOnDate] [datetime] NOT NULL DEFAULT (getdate()),
J
SQLMetal will generate:
 
private System.Nullable<System.DateTime> _LastUpdatedOnDate = default(System.Nullable<System.DateTime>);
 
PLINQO is generating:
 
private System.DateTime _createdOnDate;
 
Should the default get picked up to be consistent with SQLMetal?
Closed Jun 9, 2011 at 9:57 PM by blake05
Please log all issues on our new issue tracker (http://code.google.com/p/codesmith/)

comments