ExtensionMethods.SetChangeTrackingAnnotation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetChangeTrackingAnnotation(EdmModel, IEdmEntityContainer, Boolean) |
Set Org.OData.Capabilities.V1.ChangeTracking to target. |
SetChangeTrackingAnnotation(EdmModel, IEdmEntitySet, Boolean, IEnumerable<IEdmStructuralProperty>, IEnumerable<IEdmNavigationProperty>) |
Set Org.OData.Capabilities.V1.ChangeTracking to target. |
SetChangeTrackingAnnotation(EdmModel, IEdmEntityContainer, Boolean)
Set Org.OData.Capabilities.V1.ChangeTracking to target.
public static void SetChangeTrackingAnnotation (this Microsoft.OData.Edm.EdmModel model, Microsoft.OData.Edm.IEdmEntityContainer target, bool isSupported);
static member SetChangeTrackingAnnotation : Microsoft.OData.Edm.EdmModel * Microsoft.OData.Edm.IEdmEntityContainer * bool -> unit
<Extension()>
Public Sub SetChangeTrackingAnnotation (model As EdmModel, target As IEdmEntityContainer, isSupported As Boolean)
Parameters
- model
- EdmModel
The model referenced to.
- target
- IEdmEntityContainer
The target entity container to set the inline annotation.
- isSupported
- Boolean
This entity set supports the odata.track-changes preference.
Applies to
SetChangeTrackingAnnotation(EdmModel, IEdmEntitySet, Boolean, IEnumerable<IEdmStructuralProperty>, IEnumerable<IEdmNavigationProperty>)
Set Org.OData.Capabilities.V1.ChangeTracking to target.
public static void SetChangeTrackingAnnotation (this Microsoft.OData.Edm.EdmModel model, Microsoft.OData.Edm.IEdmEntitySet target, bool isSupported, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmStructuralProperty> filterableProperties, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmNavigationProperty> expandableProperties);
static member SetChangeTrackingAnnotation : Microsoft.OData.Edm.EdmModel * Microsoft.OData.Edm.IEdmEntitySet * bool * seq<Microsoft.OData.Edm.IEdmStructuralProperty> * seq<Microsoft.OData.Edm.IEdmNavigationProperty> -> unit
<Extension()>
Public Sub SetChangeTrackingAnnotation (model As EdmModel, target As IEdmEntitySet, isSupported As Boolean, filterableProperties As IEnumerable(Of IEdmStructuralProperty), expandableProperties As IEnumerable(Of IEdmNavigationProperty))
Parameters
- model
- EdmModel
The model referenced to.
- target
- IEdmEntitySet
The target entity set to set the inline annotation.
- isSupported
- Boolean
This entity set supports the odata.track-changes preference.
- filterableProperties
- IEnumerable<IEdmStructuralProperty>
Change tracking supports filters on these properties.
- expandableProperties
- IEnumerable<IEdmNavigationProperty>
Change tracking supports these properties expanded.