Knight Data Access Layer
SetDefaults Property (AutoMap)




KellermanSoftware.NetDataAccessLayer Namespace > AutoMap Class : SetDefaults Property
If true, defaults will be set in the object before it is sent to the database. The default is true
Syntax
Public Property SetDefaults As Boolean
Dim instance As AutoMap
Dim value As Boolean
 
instance.SetDefaults = value
 
value = instance.SetDefaults
public bool SetDefaults {get; set;}
public: __property bool get_SetDefaults();
public: __property void set_SetDefaults( 
   bool value
);
public:
property bool SetDefaults {
   bool get();
   void set (    bool value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AutoMap Class
AutoMap Members