DataTypeAttribute

Overview

Property attribute. Represent datatype mapping between schema field and table definition field. For example following code shows that table definition field Product has Integer data type.

[DataType(DataType.Integer)]
public virtual int Product 
{
  ...            
}

This attribute is used by DA LINQ engine internally for proper configuring serialization/de-serialization routines.

Location


Properties


DataType

 

property DataType: DataType read;

 

DataType DataType { get; }

 

ReadOnly Property DataType() As DataType

Instance Methods


constructor

 

constructor(dataType: DataType)

 

DataTypeAttribute(DataType dataType)

 

Sub New(dataType As DataType)

Parameters:

  • dataType:

 

  • DA LINQ Table Definitions