Пример #1
0
 /// <summary>
 /// Get escaped fully qualified name of a model element
 /// </summary>
 /// <param name="sm">schema model</param>
 /// <param name="element">model element</param>
 /// <returns>name of the element</returns>
 public static string GetElementName(SqlSchemaModel sm, ISqlModelElement element)
 {
     return(sm.DatabaseSchemaProvider.UserInteractionServices.GetElementName(element, ElementNameStyle.EscapedFullyQualifiedName));
 }
Пример #2
0
 /// <summary>
 /// Get escaped fully qualified name of a model element 
 /// </summary>
 /// <param name="sm">schema model</param>
 /// <param name="element">model element</param>
 /// <returns>name of the element</returns>
 public static string GetElementName(SqlSchemaModel sm, ISqlModelElement element)
 {
     return sm.DatabaseSchemaProvider.UserInteractionServices.GetElementName(element, ElementNameStyle.EscapedFullyQualifiedName);
 }