Class SizeAttribute
Indicates that the property maps to a column with a maximum size.
Inheritance
System.Object
SizeAttribute
Namespace: Paradigm.ORM.Data.Attributes
Assembly: Paradigm.ORM.Data.dll
Syntax
public class SizeAttribute : Attribute
Constructors
| Improve this Doc View SourceSizeAttribute()
Initializes a new instance of the SizeAttribute class.
Declaration
public SizeAttribute()
SizeAttribute(Int64)
Initializes a new instance of the SizeAttribute class.
Declaration
public SizeAttribute(long maxSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | maxSize | The maximum size. |
Properties
| Improve this Doc View SourceMaxSize
Gets or sets the maximum size.
Declaration
public long MaxSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 | The maximum size. |