SingletonConfiguration Class
Allows configuration to be performed for a singleton in a model. A SingletonConfiguration can be obtained by using the method Singletons.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Web.OData.Builder.NavigationSourceConfiguration
System.Web.OData.Builder.SingletonConfiguration
Syntax
public class SingletonConfiguration : NavigationSourceConfiguration
public ref class SingletonConfiguration : NavigationSourceConfiguration
type SingletonConfiguration =
class
inherit NavigationSourceConfiguration
end
Public Class SingletonConfiguration
Inherits NavigationSourceConfiguration
Constructors
Name | Description | |
---|---|---|
![]() |
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
Name | Description | |
---|---|---|
![]() |
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.) |
![]() |
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
Name | Description | |
---|---|---|
![]() |
AddBinding(NavigationPropertyConfiguration, INavigationSourceConfiguration) | Binds the given navigation property to the target navigation source.(Inherited from NavigationSourceConfiguration.) |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
FindBinding(NavigationPropertyConfiguration) | Finds the binding for the given navigation property and tries to create it if it doesnot exist.(Inherited from NavigationSourceConfiguration.) |
![]() |
FindBinding(NavigationPropertyConfiguration, Boolean) | Finds the binding for the given navigation property.(Inherited from NavigationSourceConfiguration.) |
![]() |
FindBinding(String) | Gets the 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.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
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.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
GetUrl() | Gets the navigation source URL.(Inherited from NavigationSourceConfiguration.) |
![]() |
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.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
RemoveBinding(NavigationPropertyConfiguration) | Removes the binding for the given navigation property.(Inherited from NavigationSourceConfiguration.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.OData.Builder Namespace
Return to top