Compartir a través de


ComplexTypeConfiguration<TComplexType> Clase

Definición

Representa un IEdmComplexType objeto que se puede compilar mediante ODataModelBuilder.

public class ComplexTypeConfiguration<TComplexType> : Microsoft.AspNet.OData.Builder.StructuralTypeConfiguration<TComplexType> where TComplexType : class
type ComplexTypeConfiguration<'ComplexType (requires 'ComplexType : null)> = class
    inherit StructuralTypeConfiguration<'ComplexType (requires 'ComplexType : null)>
Public Class ComplexTypeConfiguration(Of TComplexType)
Inherits StructuralTypeConfiguration(Of TComplexType)

Parámetros de tipo

TComplexType
Herencia
ComplexTypeConfiguration<TComplexType>

Propiedades

BaseType

Obtiene el tipo base del tipo complejo.

FullName

Obtiene el nombre completo del tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
IsOpen

Obtiene un indicador si este tipo EDM es un tipo abierto o no. Devuelve true si se trata de un tipo abierto; false de lo contrario, devuelve .

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Name

Obtiene y establece el nombre de este tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Namespace

Obtiene y establece el espacio de nombres de este tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Properties

Obtiene la colección de propiedades estructurales EDM que pertenecen a este tipo.

(Heredado de StructuralTypeConfiguration<TStructuralType>)

Métodos

Abstract()

Marca el tipo complejo como abstracto.

CollectionProperty<TElementType>(Expression<Func<TStructuralType,IEnumerable<TElementType>>>)

Agrega una propiedad de colección al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
ComplexProperty<TComplexType>(Expression<Func<TStructuralType,TComplexType>>)

Agrega una propiedad compleja al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
ContainsMany<TTargetEntity>(Expression<Func<TStructuralType,IEnumerable<TTargetEntity>>>)

Configura una relación de este tipo estructural a una propiedad de navegación de colección independiente.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
ContainsOptional<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>)

Configura una relación opcional de este tipo estructural en una sola propiedad de navegación independiente.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
ContainsRequired<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>)

Configura una relación necesaria de este tipo estructural en una sola propiedad de navegación independiente.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Count()

Establece esta propiedad es countable de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Count(QueryOptionSetting)

Establece si esta propiedad es countable de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
DerivesFrom<TBaseType>()

Define el tipo base del tipo complejo.

DerivesFromNothing()

Establece el tipo base de este tipo complejo en null lo que significa que este tipo complejo no deriva de nada.

EnumProperty<T>(Expression<Func<TStructuralType,Nullable<T>>>)

Agrega una propiedad enum opcional al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
EnumProperty<T>(Expression<Func<TStructuralType,T>>)

Agrega una propiedad enum obligatoria al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand()

Establece todas las propiedades expandibles de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand(Int32)

Establece todas las propiedades expandibles con la profundidad máxima del resultado de expansión de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand(Int32, SelectExpandType, String[])

Establece la profundidad máxima del resultado de expansión, las propiedades expandibles y su SelectExpandType de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand(Int32, String[])

Establece la profundidad máxima del resultado de expansión, las propiedades expandibles de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand(SelectExpandType)

Conjuntos SelectExpandType de todas las propiedades de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand(SelectExpandType, Int32)

Conjuntos SelectExpandType de todas las propiedades con la profundidad máxima del resultado de expansión de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand(SelectExpandType, String[])

Establece las propiedades expandibles y su SelectExpandType de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Expand(String[])

Establece las propiedades expandibles de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Filter()

Establece todas las propiedades de este tipo estructural filtrables.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Filter(QueryOptionSetting)

Establece si todas las propiedades de este tipo estructural se pueden filtrar.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Filter(QueryOptionSetting, String[])

Los conjuntos de propiedades filtrables dependen QueryOptionSetting de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Filter(String[])

Establece las propiedades filtrables de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasDynamicProperties(Expression<Func<TStructuralType,IDictionary<String,Object>>>)

Agrega una propiedad de diccionario de propiedades dinámicas.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasInstanceAnnotations(Expression<Func<TStructuralType,IODataInstanceAnnotationContainer>>)

Agrega una propiedad contenedor InstanceAnnotation.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasMany<TTargetEntity>(Expression<Func<TStructuralType,IEnumerable<TTargetEntity>>>)

Configura una gran relación a partir de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasOptional<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>)

Configura una relación opcional a partir de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasOptional<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>, Expression<Func<TStructuralType,TTargetEntity,Boolean>>)

Configura una relación opcional con restricción referencial de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasOptional<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>, Expression<Func<TStructuralType,TTargetEntity,Boolean>>, Expression<Func<TTargetEntity, IEnumerable<TStructuralType>>>)

Configura una relación opcional con restricción referencial de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasOptional<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>, Expression<Func<TStructuralType,TTargetEntity,Boolean>>, Expression<Func<TTargetEntity, TStructuralType>>)

Configura una relación opcional con restricción referencial de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasRequired<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>)

Configura una relación necesaria a partir de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasRequired<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>, Expression<Func<TStructuralType,TTargetEntity,Boolean>>)

Configura una relación necesaria con una restricción referencial de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasRequired<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>, Expression<Func<TStructuralType,TTargetEntity,Boolean>>, Expression<Func<TTargetEntity, IEnumerable<TStructuralType>>>)

Configura una relación necesaria con una restricción referencial de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
HasRequired<TTargetEntity>(Expression<Func<TStructuralType,TTargetEntity>>, Expression<Func<TStructuralType,TTargetEntity,Boolean>>, Expression<Func<TTargetEntity, TStructuralType>>)

Configura una relación necesaria con una restricción referencial de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Ignore<TProperty>(Expression<Func<TStructuralType,TProperty>>)

Excluye una propiedad del tipo.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
OrderBy()

Establece todas las propiedades de este tipo estructural que se pueden ordenar.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
OrderBy(QueryOptionSetting)

Establece si todas las propiedades de este tipo estructural se pueden ordenar.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
OrderBy(QueryOptionSetting, String[])

Los conjuntos de propiedades ordenables dependen QueryOptionSetting de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
OrderBy(String[])

Establece las propiedades ordenables de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Page()

Establece las propiedades de este tipo estructural que habilitan la paginación.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Page(Nullable<Int32>, Nullable<Int32>)

Establece el valor máximo de $top de este tipo estructural que un cliente puede solicitar y el número máximo de resultados de consulta de este tipo de entidad que se van a devolver.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,Byte[]>>)

Agrega una propiedad binaria al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,DateTimeOffset>>)

Agrega una propiedad primitiva datetime-with-offset al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,Decimal>>)

Agrega una propiedad primitiva deciaml al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,Nullable<DateTimeOffset>>>)

Agrega una propiedad primitiva datetime-with-offset al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,Nullable<Decimal>>>)

Agrega una propiedad primitiva deciaml al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,Nullable<TimeOfDay>>>)

Agrega una propiedad primitiva de hora de día al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,Nullable<TimeSpan>>>)

Agrega una propiedad primitiva duration al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,Stream>>)

Agrega una propiedad de secuencia al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,String>>)

Agrega una propiedad de cadena al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,TimeOfDay>>)

Agrega una propiedad primitiva de hora de día al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property(Expression<Func<TStructuralType,TimeSpan>>)

Agrega una propiedad primitiva duration al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property<T>(Expression<Func<TStructuralType,Nullable<T>>>)

Agrega una propiedad primitiva opcional al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Property<T>(Expression<Func<TStructuralType,T>>)

Agrega una propiedad primitiva obligatoria al tipo EDM.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Select()

Establece todas las propiedades de este tipo estructural seleccionable.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Select(SelectExpandType)

Se pueden seleccionar conjuntos SelectExpandType de todas las propiedades de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Select(SelectExpandType, String[])

Los conjuntos de propiedades seleccionables dependen SelectExpandType de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)
Select(String[])

Establece las propiedades seleccionables de este tipo estructural.

(Heredado de StructuralTypeConfiguration<TStructuralType>)

Se aplica a