C# Класс System.Data.Entity.Metadata.EntityMetadataBase

Entity metadata base class.
Наследование: IEntityMetadata
Показать файл Открыть проект

Открытые методы

Метод Описание
GetProperty ( string name ) : IPropertyMetadata

Get the property of entity.

Защищенные методы

Метод Описание
EntityMetadataBase ( Type entityType ) : System

Initialize entity metadata.

SetAuthentication ( EntityAuthenticationAttribute authentication ) : void

Set the metadata of authentication.

SetDisplay ( DisplayNameAttribute display ) : void

Set the metadata of display.

SetDisplayColumn ( System.ComponentModel.DataAnnotations.DisplayColumnAttribute display ) : void

Set the metadata of display property.

SetMetadata ( ) : void

Set the metadata automatic.

SetParent ( System.ComponentModel.DataAnnotations.ParentAttribute parent ) : void

Set the metadata of parent.

SetProperties ( IEnumerable propertyMetadatas ) : void

Set the metadata of properties.

Описание методов

EntityMetadataBase() защищенный Метод

Initialize entity metadata.
protected EntityMetadataBase ( Type entityType ) : System
entityType System.Type
Результат System

GetProperty() публичный Метод

Get the property of entity.
public GetProperty ( string name ) : IPropertyMetadata
name string Name of property.
Результат IPropertyMetadata

SetAuthentication() защищенный Метод

Set the metadata of authentication.
protected SetAuthentication ( EntityAuthenticationAttribute authentication ) : void
authentication System.ComponentModel.DataAnnotations.EntityAuthenticationAttribute
Результат void

SetDisplay() защищенный Метод

Set the metadata of display.
protected SetDisplay ( DisplayNameAttribute display ) : void
display DisplayNameAttribute Display name attribute.
Результат void

SetDisplayColumn() защищенный Метод

Set the metadata of display property.
protected SetDisplayColumn ( System.ComponentModel.DataAnnotations.DisplayColumnAttribute display ) : void
display System.ComponentModel.DataAnnotations.DisplayColumnAttribute Display attribute.
Результат void

SetMetadata() защищенный Метод

Set the metadata automatic.
protected SetMetadata ( ) : void
Результат void

SetParent() защищенный Метод

Set the metadata of parent.
protected SetParent ( System.ComponentModel.DataAnnotations.ParentAttribute parent ) : void
parent System.ComponentModel.DataAnnotations.ParentAttribute Parent attribute.
Результат void

SetProperties() защищенный Метод

Set the metadata of properties.
protected SetProperties ( IEnumerable propertyMetadatas ) : void
propertyMetadatas IEnumerable Property metadatas.
Результат void