使用反射實現生成添加、修改sql語句

1.生成添加sql語句 sql //單獨一個model時 public static string InsertSql<T>(T t) { Type type = typeof(T); string tableName = type.Name; StringBuilder sb = new StringBuil
相關文章
相關標籤/搜索