SqlDateTime overflow using NHibernate
问题 I persist my objects using NHibernate in the database the App object have a property defined: public virtual DateTime ReleaseDate { get; set; } in the mappingClass: Map(x => x.ReleaseDate).Not.Nullable(); which in the sqlServer 2008 its dataType is dateTime and is not nullable. for the first Time it saves to database with no error. but after updating app info I encounter SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM. but the app release date is a valid