Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​ComponentModel.​DataObjectFieldAttribute

Assembly: System.ComponentModel.TypeConverter

Inheritance: object → Attribute → DataObjectFieldAttribute

Provides metadata for a property representing a data field. This class cannot be inherited.

Properties

public bool
IsIdentity
Gets a value indicating whether a property represents an identity field in the underlying data.
public bool
IsNullable
Gets a value indicating whether a property represents a field that can be null in the underlying data store.
public int
Length
Gets the length of the property in bytes.
public bool
PrimaryKey
Gets a value indicating whether a property is in the primary key in the underlying data.
public object
TypeId

Methods

public bool
Equals​(object obj)
Returns a value indicating whether this instance is equal to a specified object.
Returns <see langword="true" /> if this instance is the same as the instance specified by the <paramref name="obj" /> parameter; otherwise, <see langword="false" /> .
obj An object to compare with this instance of <see cref="T:System.ComponentModel.DataObjectFieldAttribute" /> .
public int
GetHashCode​()
Returns the hash code for this instance.
Returns A 32-bit signed integer hash code.
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object