Responsible for encapsulating the retrieval and translation of the CodeGeneration annotations in the EntityFramework Metadata to a form that is useful in code generation.
Responsible for encapsulating the retrieval and translation of the CodeGeneration
annotations in the EntityFramework Metadata to a form that is useful in code generation.
Gets the accessibility that should be applied at the get level for a property being
generated from the provided EdmMember.defaults to empty if no annotation is found or the accessibility is the same as the property level.
public static string ForNavigationProperty(NavigationProperty navProp)
Gets the accessibility that should be applied to a NavigationProperty being generatedLooks up the accessibility for the property (as defined by its getterAccess and setterAccess)
and compares to the accessibility for the target type (as defined by its typeAccess)
and takes the minimum
public static string ForProperty(EdmMember member)
Gets the accessibility that should be applied at the property level for a property being
generated from the provided EdmMember.defaults to public if no annotation is found.
public static string ForReadOnlyProperty(EdmMember member)
Gets the accessibility that should be applied at the property level for a Read-Only property being
generated from the provided EdmMember.defaults to public if no annotation is found.
public static string ForReadOnlyProperty(EntitySet set)
Gets the accessibility that should be applied at the property level for a property being
generated from the provided EntitySet.defaults to public if no annotation is found.
Gets the accessibility that should be applied at the set level for a property being
generated from the provided EdmMember.defaults to empty if no annotation is found or the accessibility is the same as the property level.
public static string ForWriteOnlyProperty(EdmMember member)
Gets the accessibility that should be applied at the property level for a Write-Only property being
generated from the provided EdmMember.defaults to public if no annotation is found.