TypeUsage Classe

Definição

Descreve um tipo e um conjunto de facetas para esse tipo.Describes a type and a set of facets for that type.

public ref class TypeUsage sealed : System::Data::Metadata::Edm::MetadataItem
public sealed class TypeUsage : System.Data.Metadata.Edm.MetadataItem
type TypeUsage = class
    inherit MetadataItem
Public NotInheritable Class TypeUsage
Inherits MetadataItem
Herança
TypeUsage

Propriedades

BuiltInTypeKind

Obtém a variante do tipo interno para este TypeUsage.Gets the built-in type kind for this TypeUsage.

Documentation

Obtém ou define a documentação associada a esse tipo.Gets or sets the documentation associated with this type.

(Herdado de MetadataItem)
EdmType

Obtém as informações de tipo descritas por este TypeUsage.Gets the type information described by this TypeUsage.

Facets

Obtém a lista de facetas para o tipo descrito por este TypeUsage.Gets the list of facets for the type that is described by this TypeUsage.

MetadataProperties

Obtém a lista de propriedades do tipo atual.Gets the list of properties of the current type.

(Herdado de MetadataItem)

Métodos

CreateBinaryTypeUsage(PrimitiveType, Boolean)

Cria um objeto TypeUsage para descrever um tipo binário usando os valores de faceta especificados.Creates a TypeUsage object to describe a binary type by using the specified facet values.

CreateBinaryTypeUsage(PrimitiveType, Boolean, Int32)

Cria um objeto TypeUsage para descrever um tipo binário usando os valores de faceta especificados.Creates a TypeUsage object to describe a binary type by using the specified facet values.

CreateDateTimeOffsetTypeUsage(PrimitiveType, Nullable<Byte>)

Cria um objeto DateTimeOffsetTypeUsage do tipo que os parâmetros descrevem.Creates a DateTimeOffsetTypeUsage object of the type that the parameters describe.

CreateDateTimeTypeUsage(PrimitiveType, Nullable<Byte>)

Cria um objeto DateTimeTypeUsage do tipo que os parâmetros descrevem.Creates a DateTimeTypeUsage object of the type that the parameters describe.

CreateDecimalTypeUsage(PrimitiveType)

Cria um objeto TypeUsage para descrever um tipo decimal com valores de faceta com precisão e escala ilimitadas.Creates a TypeUsage object to describe a decimal type with unbounded precision and scale facet values.

CreateDecimalTypeUsage(PrimitiveType, Byte, Byte)

Cria um objeto TypeUsage que descreve um tipo decimal usando os valores de faceta especificados.Creates a TypeUsage object to describe a decimal type by using the specified facet values.

CreateDefaultTypeUsage(EdmType)

Cria um objeto TypeUsage com o tipo do modelo conceitual especificado.Creates a TypeUsage object with the specified conceptual model type.

CreateStringTypeUsage(PrimitiveType, Boolean, Boolean)

Cria um objeto TypeUsage que descreve um tipo de cadeia de caracteres usando os valores de faceta especificados e MaxLength ilimitado.Creates a TypeUsage object to describe a string type by using the specified facet values and unbounded MaxLength.

CreateStringTypeUsage(PrimitiveType, Boolean, Boolean, Int32)

Cria um objeto TypeUsage para descrever um tipo de cadeia de caracteres usando os valores de faceta especificados.Creates a TypeUsage object to describe a string type by using the specified facet values.

CreateTimeTypeUsage(PrimitiveType, Nullable<Byte>)

Cria um objeto TimeTypeUsage do tipo que os parâmetros descrevem.Creates a TimeTypeUsage object of the type that the parameters describe.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
IsSubtypeOf(TypeUsage)

Verifica se este TypeUsage é um subtipo do TypeUsage especificado.Checks whether this TypeUsage is a subtype of the specified TypeUsage.

MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna o nome completo do tipo descrito por este TypeUsage.Returns the full name of the type described by this TypeUsage.

Métodos de Extensão

Constant(TypeUsage, Object)

Cria um novo DbConstantExpression do tipo primitivo especificado com o valor constante fornecido.Creates a new DbConstantExpression of the specified primitive type with the given constant value.

New(TypeUsage, IEnumerable<DbExpression>)

Cria um novo DbNewInstanceExpression.Creates a new DbNewInstanceExpression. Se o argumento de tipo é um tipo de coleção, os argumentos especificam os elementos da coleção.If the type argument is a collection type, the arguments specify the elements of the collection. Caso contrário, os argumentos são usados como valores de propriedade ou de coluna na nova instância.Otherwise the arguments are used as property or column values in the new instance.

New(TypeUsage, DbExpression[])

Cria um novo DbNewInstanceExpression.Creates a new DbNewInstanceExpression. Se o argumento de tipo é um tipo de coleção, os argumentos especificam os elementos da coleção.If the type argument is a collection type, the arguments specify the elements of the collection. Caso contrário, os argumentos são usados como valores de propriedade ou de coluna na nova instância.Otherwise the arguments are used as property or column values in the new instance.

NewEmptyCollection(TypeUsage)

Cria uma nova DbNewInstanceExpression que constrói uma coleção vazia do tipo de coleção especificado.Creates a new DbNewInstanceExpression that constructs an empty collection of the specified collection type.

Null(TypeUsage)

Cria uma nova DbNullExpression que representa um valor nulo com tipo.Creates a new DbNullExpression, which represents a typed null value.

Parameter(TypeUsage, String)

Cria uma nova DbParameterReferenceExpression que faz referência a um parâmetro com o nome e o tipo especificados.Creates a new DbParameterReferenceExpression that references a parameter with the specified name and type.

Variable(TypeUsage, String)

Cria uma nova DbVariableReferenceExpression que faz referência a uma variável com o nome e o tipo especificados.Creates a new DbVariableReferenceExpression that references a variable with the specified name and type.

Aplica-se a