mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Split table
This commit is contained in:
@@ -149,6 +149,13 @@ namespace OrmTest
|
||||
|
||||
SubNoIdentity(db);
|
||||
SubIdentity(db);
|
||||
|
||||
|
||||
var dict = new Dictionary<string, object>();
|
||||
dict.Add("name", "1");
|
||||
dict.Add("CreateTime", DateTime.Now);
|
||||
dict.Add("Price", 1);
|
||||
db.Insertable(dict).AS("[Order]").ExecuteCommand();
|
||||
Console.WriteLine("#### Insertable End ####");
|
||||
|
||||
}
|
||||
|
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SqlSugar
|
||||
{
|
||||
public partial interface IInsertable<T>
|
||||
public partial interface IInsertable<T> where T :class,new()
|
||||
{
|
||||
InsertBuilder InsertBuilder { get; set; }
|
||||
int ExecuteCommand();
|
||||
|
Reference in New Issue
Block a user