CodeSmith Community
Your Code. Your Way. Faster!

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Newbie question about default values

    HI, I've got a question regarding database column default values and validation rules. My database is pre-existing so changes to the schema would not be good. The column looks like this: Column1 VARCHAR(10) NOT NULL DEFAULT dbo.defEmptyString I set the ParseDBColDefaultVal to True. This creates the...
    Posted to .netTiers - General Support (Forum) by mikevanoo on 07-03-2007
    Filed under: .netTiers, DefaultValue, Entity Validation Rule Engine CommonRules, .net 2.0
  • Default Value for Nullable<DateTime> and Nullable<Boolean>

    Hi there, Question about the default value for System. DateTime ? | System. Boolean ? variables in entities: View Entity => DateTime.MinValue | false Table entity => null | null Is this by design (if so, could you shed some light as why)? Thenx! Regards, Michael Tautz P.S.: Many, many, many kudos...
    Posted to .netTiers - General Support (Forum) by Actarus on 01-26-2007
    Filed under: NullableTypes, DefaultValue, Entities
  • Just want .netTiers to ignore Default value column for insert.

    I have created my DB just as I always do with a TimeStamp (TStamp) coumn that uses SQL's (getdate()) function to fill the column on a new row creation. When I generated the netTiers code the admin pages all include a required TStamp form field. I assumed that when you set a default value in SQL netTiers...
    Posted to .netTiers - General Support (Forum) by MeasuredSpace on 10-19-2006
    Filed under: .netTiers, CRUD, DefaultValue
  • Re: How to implement custom default values

    There's also a new property in the property set called ParseDbColDefaultValue, which will attempt to parse any column default values you have set. For example if you have a column called ModifiedDate and the default value of the column is GetDate(), .netTiers will parse that value and your property...
    Posted to .netTiers - General Support (Forum) by Robert Hinojosa on 10-17-2006
    Filed under: DefaultValue
Page 1 of 1 (4 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems