Méthode | Description | |
---|---|---|
CalculatePropertyAccessibility ( System.Data.Metadata.Edm.MetadataItem item, string &propertyAccessibility, string &getterAccessibility, string &setterAccessibility ) : void | ||
ForGetter ( System.Data.Metadata.Edm.EdmMember member ) : string |
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.
|
|
ForMethod ( EdmFunction function ) : string |
Gets the accessibility that should be applied to a method being generated from the provided EdmFunction. defaults to public if no annotation is found.
|
|
ForProperty ( System.Data.Metadata.Edm.EdmMember member ) : string |
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.
|
|
ForReadOnlyProperty ( System.Data.Metadata.Edm.EdmMember member ) : string |
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.
|
|
ForReadOnlyProperty ( System.Data.Metadata.Edm.EntitySet set ) : string |
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.
|
|
ForSetter ( System.Data.Metadata.Edm.EdmMember member ) : string |
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.
|
|
ForType ( System.Data.Metadata.Edm.GlobalItem item ) : string |
Gets the accessibility that should be applied to a type being generated from the provided GlobalItem. defaults to public if no annotation is found.
|
|
ForWriteOnlyProperty ( System.Data.Metadata.Edm.EdmMember member ) : string |
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.
|
Méthode | Description | |
---|---|---|
GetAccessibility ( System.Data.Metadata.Edm.MetadataItem item, string name ) : string | ||
TranslateUserAccessibilityToCSharpAccessibility ( string userAccessibility ) : string |
public static CalculatePropertyAccessibility ( System.Data.Metadata.Edm.MetadataItem item, string &propertyAccessibility, string &getterAccessibility, string &setterAccessibility ) : void | ||
item | System.Data.Metadata.Edm.MetadataItem | |
propertyAccessibility | string | |
getterAccessibility | string | |
setterAccessibility | string | |
Résultat | void |
public static ForGetter ( System.Data.Metadata.Edm.EdmMember member ) : string | ||
member | System.Data.Metadata.Edm.EdmMember | |
Résultat | string |
public static ForMethod ( EdmFunction function ) : string | ||
function | EdmFunction | |
Résultat | string |
public static ForProperty ( System.Data.Metadata.Edm.EdmMember member ) : string | ||
member | System.Data.Metadata.Edm.EdmMember | |
Résultat | string |
public static ForReadOnlyProperty ( System.Data.Metadata.Edm.EdmMember member ) : string | ||
member | System.Data.Metadata.Edm.EdmMember | |
Résultat | string |
public static ForReadOnlyProperty ( System.Data.Metadata.Edm.EntitySet set ) : string | ||
set | System.Data.Metadata.Edm.EntitySet | |
Résultat | string |
public static ForSetter ( System.Data.Metadata.Edm.EdmMember member ) : string | ||
member | System.Data.Metadata.Edm.EdmMember | |
Résultat | string |
public static ForType ( System.Data.Metadata.Edm.GlobalItem item ) : string | ||
item | System.Data.Metadata.Edm.GlobalItem | |
Résultat | string |
public static ForWriteOnlyProperty ( System.Data.Metadata.Edm.EdmMember member ) : string | ||
member | System.Data.Metadata.Edm.EdmMember | |
Résultat | string |