Jaa


SingletonConfiguration Class

Definition

Allows configuration to be performed for a singleton in a model. A SingletonConfiguration can be obtained by using the method Singletons.

public class SingletonConfiguration : Microsoft.AspNet.OData.Builder.NavigationSourceConfiguration
type SingletonConfiguration = class
    inherit NavigationSourceConfiguration
Public Class SingletonConfiguration
Inherits NavigationSourceConfiguration
Inheritance
SingletonConfiguration

Constructors

SingletonConfiguration()

Initializes a new instance of the SingletonConfiguration class. The default constructor is intended for use by unit testing only.

SingletonConfiguration(ODataModelBuilder, EntityTypeConfiguration, String)

Initializes a new instance of the SingletonConfiguration class.

SingletonConfiguration(ODataModelBuilder, Type, String)

Initializes a new instance of the SingletonConfiguration class.

Properties

Bindings

Gets the navigation targets of NavigationSourceConfiguration.

(Inherited from NavigationSourceConfiguration)
ClrType

Gets the backing Type for the entity type contained in this navigation source.

(Inherited from NavigationSourceConfiguration)
DerivedTypeConstraints

Set that determines the derived type constraints

(Inherited from NavigationSourceConfiguration)
EntityType

Gets the entity type contained in this navigation source.

(Inherited from NavigationSourceConfiguration)
Name

Gets the name of this navigation source.

(Inherited from NavigationSourceConfiguration)

Methods

AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration, IList<MemberInfo>)

Binds the given navigation property to the target navigation source.

(Inherited from NavigationSourceConfiguration)
AddBinding(NavigationPropertyConfiguration, NavigationSourceConfiguration)

Binds the given navigation property to the target navigation source.

(Inherited from NavigationSourceConfiguration)
FindBinding(NavigationPropertyConfiguration, IList<MemberInfo>)

Finds the binding for the given navigation property and tries to create it if it does not exist.

(Inherited from NavigationSourceConfiguration)
FindBinding(NavigationPropertyConfiguration)

Finds the bindings NavigationPropertyBindingConfiguration for the given navigation property.

(Inherited from NavigationSourceConfiguration)
FindBindings(String)

Gets the bindings NavigationPropertyBindingConfiguration for the navigation property with the given name.

(Inherited from NavigationSourceConfiguration)
GetEditLink()

Gets the builder used to generate edit links for this navigation source.

(Inherited from NavigationSourceConfiguration)
GetIdLink()

Gets the builder used to generate ID for this navigation source.

(Inherited from NavigationSourceConfiguration)
GetNavigationPropertyLink(NavigationPropertyConfiguration)

Gets the builder used to generate navigation link for the given navigation property for this navigation source.

(Inherited from NavigationSourceConfiguration)
GetReadLink()

Gets the builder used to generate read links for this navigation source.

(Inherited from NavigationSourceConfiguration)
GetUrl()

Gets the navigation source URL.

(Inherited from NavigationSourceConfiguration)
HasDerivedTypeConstraint<TDerivedType>()

Adds TDerived to the list of derived type constraints.

HasDerivedTypeConstraints(Type[])

Adds subtypes to the list of derived type constraints.

HasEditLink(SelfLinkBuilder<Uri>)

Configures the edit link for this navigation source.

(Inherited from NavigationSourceConfiguration)
HasIdLink(SelfLinkBuilder<Uri>)

Configures the ID link for this navigation source.

(Inherited from NavigationSourceConfiguration)
HasNavigationPropertiesLink(IEnumerable<NavigationPropertyConfiguration>, NavigationLinkBuilder)

Configures the navigation link for the given navigation properties for this navigation source.

(Inherited from NavigationSourceConfiguration)
HasNavigationPropertyLink(NavigationPropertyConfiguration, NavigationLinkBuilder)

Configures the navigation link for the given navigation property for this navigation source.

(Inherited from NavigationSourceConfiguration)
HasReadLink(SelfLinkBuilder<Uri>)

Configures the read link for this navigation source.

(Inherited from NavigationSourceConfiguration)
HasUrl(String)

Configures the navigation source URL.

(Inherited from NavigationSourceConfiguration)
RemoveBinding(NavigationPropertyConfiguration, String)

Removes the binding for the given navigation property and the given binding path.

(Inherited from NavigationSourceConfiguration)
RemoveBinding(NavigationPropertyConfiguration)

Removes the bindings for the given navigation property.

(Inherited from NavigationSourceConfiguration)

Applies to