示例#1
0
        public CremaDataTableNamespace(string name, string categoryPath, string baseNamespace)
        {
            NameValidator.ValidateName(name);
            NameValidator.ValidateCategoryPath(categoryPath);

            var tableName = NameUtility.GetName(name);

            this.Name           = name;
            this.TableName      = tableName;
            this.TableNamespace = baseNamespace + categoryPath + name;
        }
示例#2
0
 public static string GetTableName(string name)
 {
     return(NameUtility.GetName(name));
 }