Skip to main content

DefaultAttribute

Create RDBMS Column definition with specified default value

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class DefaultAttribute : AttributeBase, _Attribute

Properties​

IntValue​

View Source​
Declaration
public int IntValue { get; set; }

DoubleValue​

View Source​
Declaration
public double DoubleValue { get; set; }

DefaultType​

View Source​
Declaration
public Type DefaultType { get; set; }

DefaultValue​

View Source​
Declaration
public string DefaultValue { get; set; }

OnUpdate​

View Source​
Declaration
public bool OnUpdate { get; set; }

Implements​

  • System.Runtime.InteropServices._Attribute