skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • MCP Servers
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    MCP Servers

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Interface INamingStrategy

Namespace: Telerik.OpenAccess.Metadata
Assembly: Telerik.OpenAccess.dll

Syntax

public interface INamingStrategy

Properties

GenerateUniqueNames

Declaration
bool GenerateUniqueNames { get; set; }
Property Value
System.Boolean

NamingSettings

Declaration
ModelNamingSettings NamingSettings { get; }
Property Value
ModelNamingSettings

Methods

GetAssociationName(String, String, MetadataContainer, Boolean)

Declaration
string GetAssociationName(string sourcePersistentTypeName, string targetPersistentTypeName, MetadataContainer container, bool isJoinTable)
Parameters
System.String sourcePersistentTypeName

System.String targetPersistentTypeName

MetadataContainer container

System.Boolean isJoinTable

Returns
System.String

GetAssociationName(MetaAssociation, MetadataContainer)

Declaration
string GetAssociationName(MetaAssociation association, MetadataContainer container)
Parameters
MetaAssociation association

MetadataContainer container

Returns
System.String

GetAssociationName(MetaPersistentType, MetaPersistentType, MetadataContainer, Boolean)

Declaration
string GetAssociationName(MetaPersistentType sourcePersistentType, MetaPersistentType targetPersistentType, MetadataContainer container, bool isManyToMany)
Parameters
MetaPersistentType sourcePersistentType

MetaPersistentType targetPersistentType

MetadataContainer container

System.Boolean isManyToMany

Returns
System.String

GetClassName(String, IList<MetaPersistentType>)

Declaration
string GetClassName(string tableName, IList<MetaPersistentType> persistentClasses)
Parameters
System.String tableName

System.Collections.Generic.IList<MetaPersistentType> persistentClasses

Returns
System.String

GetClassName(String, IList<MetaPersistentType>, String)

Declaration
string GetClassName(string tableName, IList<MetaPersistentType> persistentClasses, string schemaName)
Parameters
System.String tableName

System.Collections.Generic.IList<MetaPersistentType> persistentClasses

System.String schemaName

Returns
System.String

GetIndexName(String, String)

Declaration
string GetIndexName(string tableName, string columnName)
Parameters
System.String tableName

System.String columnName

Returns
System.String

GetProcedureName(String, CUDOperation, IList<MetaStoredProcedure>)

Declaration
string GetProcedureName(string typeName, CUDOperation operation, IList<MetaStoredProcedure> storedProcedures)
Parameters
System.String typeName

CUDOperation operation

System.Collections.Generic.IList<MetaStoredProcedure> storedProcedures

Returns
System.String

GetReferencePropertyCollectionName(MetaPersistentType, MetaPersistentType, MetaPrimitiveMember)

Declaration
string GetReferencePropertyCollectionName(MetaPersistentType declaringType, MetaPersistentType referencedType, MetaPrimitiveMember metaForeignKeyMember)
Parameters
MetaPersistentType declaringType

MetaPersistentType referencedType

MetaPrimitiveMember metaForeignKeyMember

Returns
System.String

GetReferencePropertyName(MetaPersistentType, MetaPersistentType, MetaPrimitiveMember)

Declaration
string GetReferencePropertyName(MetaPersistentType declaringType, MetaPersistentType referencedType, MetaPrimitiveMember metaForeignKeyMember)
Parameters
MetaPersistentType declaringType

MetaPersistentType referencedType

MetaPrimitiveMember metaForeignKeyMember

Returns
System.String

GetReferencePropertyName(MetaPersistentType, MetaPersistentType, MetaPrimitiveMember, String)

Declaration
string GetReferencePropertyName(MetaPersistentType declaringType, MetaPersistentType referencedType, MetaPrimitiveMember metaForeignKeyMember, string inverseMemberName)
Parameters
MetaPersistentType declaringType

MetaPersistentType referencedType

MetaPrimitiveMember metaForeignKeyMember

System.String inverseMemberName

Returns
System.String

GetScalarFieldName(String, String, MetaType)

Declaration
string GetScalarFieldName(string propertyName, string userFieldName, MetaType declaringType)
Parameters
System.String propertyName

System.String userFieldName

MetaType declaringType

Returns
System.String

GetScalarPropertyName(String, MetaType)

Declaration
string GetScalarPropertyName(string columnName, MetaType declaringType)
Parameters
System.String columnName

MetaType declaringType

Returns
System.String

GetSelfReferenceFieldName(String, MetaPersistentType)

Declaration
string GetSelfReferenceFieldName(string propertyName, MetaPersistentType declarationType)
Parameters
System.String propertyName

MetaPersistentType declarationType

Returns
System.String

GetSelfReferenceNavigationPropertyName(String, MetaPersistentType)

Declaration
string GetSelfReferenceNavigationPropertyName(string columnName, MetaPersistentType declarationType)
Parameters
System.String columnName

MetaPersistentType declarationType

Returns
System.String

GetSelfReferencePropertyName(String, MetaPersistentType)

Declaration
string GetSelfReferencePropertyName(string columnName, MetaPersistentType declaringType)
Parameters
System.String columnName

MetaPersistentType declaringType

Returns
System.String

GetValidIdentifier(String)

Declaration
string GetValidIdentifier(string word)
Parameters
System.String word

Returns
System.String

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.