示例#1
0
 public NonUniqueIndex GetNonUniqueIndexFor <T>(params string[] columns)
 {
     return(new NonUniqueIndex
     {
         TableName = CodeGenerationHelper.GetTableName <T>(),
         ColumnNames = columns.ToList()
     });
 }
示例#2
0
 private Table SmoTableFor <T>()
 {
     return(SmoDatabase.Tables[CodeGenerationHelper.GetTableName <T>()]);
 }