DataTypeAttribute Class

From RemObjects Wiki
Jump to: navigation, search

This is a Library topic for Data Abstract for .NET
This page is generated from external data, please do not update

NamespacesInterfacesClassesEnumsImplements

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



Oxygene:   property DataType: DataType read
C#:   DataType DataType { get; }
VB:   Property ReadOnly DataType As DataType


Instance Methods

constructor



Oxygene:   constructor(dataType: DataType)
C#:   constructor(DataType dataType)
VB:   Sub New (dataType As DataType)


Parameters:

  • dataType:


See Also


Product: RemObjects Data Abstract
Available Editions: Data Abstract for .NET, Delphi and Xcode

GlossaryArticlesFeaturesLibrarySamples