ClassMetaNameGenerator
Definition
Namespace:Telerik.OpenAccess.Metadata
Assembly:Telerik.OpenAccess.dll
Syntax:
public class MetaNameGenerator : MetaItem, IMetadataStatusCallback, IHierarchyMetadata
Inheritance: objectMetaItemMetaNameGenerator
Implements:
Inherited Members
Properties
Default
Declaration
public MetaNameGenerator Default { get; }
Property Value
Disambiguate
Declaration
public bool Disambiguate { get; set; }
Property Value
bool
DisambiguateConstraints
Declaration
public bool DisambiguateConstraints { get; set; }
Property Value
bool
DisambiguateJoinTables
Declaration
public bool DisambiguateJoinTables { get; set; }
Property Value
bool
DiscriminatorColumnName
Declaration
public string DiscriminatorColumnName { get; set; }
Property Value
string
EnforceSimpleNames
Declaration
[Obsolete("This option cannot be turned off anymore. All names will get their invalid symbols replaced by 'String.Empty'.")]
public bool EnforceSimpleNames { get; set; }
Property Value
bool
FKConstraintNamePrefix
Declaration
public string FKConstraintNamePrefix { get; set; }
Property Value
string
IndexNamePrefix
Declaration
public string IndexNamePrefix { get; set; }
Property Value
string
KeyColumnName
Declaration
public string KeyColumnName { get; set; }
Property Value
string
MaxColumnNameLength
Declaration
public int MaxColumnNameLength { get; set; }
Property Value
int
MaxConstraintNameLength
Declaration
public int MaxConstraintNameLength { get; set; }
Property Value
int
MaxIndexNameLength
Declaration
public int MaxIndexNameLength { get; set; }
Property Value
int
MaxProcedureNameLength
Declaration
public int MaxProcedureNameLength { get; set; }
Property Value
int
MaxTableNameLength
Declaration
public int MaxTableNameLength { get; set; }
Property Value
int
NameCanStartWithUnderscore
Declaration
[Obsolete("Use 'RemoveLeadingUnderscores = false' to achieve the same functionality. ")]
public bool NameCanStartWithUnderscore { get; set; }
Property Value
bool
PKConstraintNamePrefix
Declaration
public string PKConstraintNamePrefix { get; set; }
Property Value
string
PKFieldSuffix
Declaration
public string PKFieldSuffix { get; set; }
Property Value
string
PolyRefDiscriminatorColumnSuffix
Declaration
public string PolyRefDiscriminatorColumnSuffix { get; set; }
Property Value
string
RemoveCamelCase
Declaration
public bool RemoveCamelCase { get; set; }
Property Value
bool
RemoveLeadingUnderscores
Declaration
public bool RemoveLeadingUnderscores { get; set; }
Property Value
bool
ResolveReservedWords
Declaration
public bool ResolveReservedWords { get; set; }
Property Value
bool
SPDeleteFormat
Declaration
public string SPDeleteFormat { get; set; }
Property Value
string
SPDeleteJoinTableRowFormat
Declaration
public string SPDeleteJoinTableRowFormat { get; set; }
Property Value
string
SPInsertFormat
Declaration
public string SPInsertFormat { get; set; }
Property Value
string
SPUpdateFormat
Declaration
public string SPUpdateFormat { get; set; }
Property Value
string
SequenceColumnName
Declaration
public string SequenceColumnName { get; set; }
Property Value
string
SourceStrategy
Declaration
public NamingSourceStrategy SourceStrategy { get; set; }
Property Value
UseModelNames
Declaration
[Obsolete("Use 'RemoveCamelCase = false' and 'ResolveReservedWords = false' to achieve the same functionality.")]
public bool UseModelNames { get; set; }
Property Value
bool
ValueColumnName
Declaration
public string ValueColumnName { get; set; }
Property Value
string
WordBreak
Declaration
public string WordBreak { get; set; }
Property Value
string
Methods
AddAttribute(MetadataConstants)
Declaration
protected override IMetaItemAttribute AddAttribute(MetadataConstants key)
Parameters
key
Returns
Overrides
CompareCore(object)
Declaration
protected override int CompareCore(object otherItem)
Parameters
otherItem
object
Returns
int
Overrides
GetDefaultValue<Z>(MetadataConstants)
Declaration
protected override Z GetDefaultValue<Z>(MetadataConstants key)
Parameters
key
Returns
Z
Overrides
SetAttributeValue<V>(object, MetadataConstants, V)
Declaration
protected override void SetAttributeValue<V>(object notifyingProperty, MetadataConstants key, V value)
Parameters
notifyingProperty
object
key
value
V
Overrides