mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Split table
This commit is contained in:
@@ -149,6 +149,13 @@ namespace OrmTest
|
|||||||
|
|
||||||
SubNoIdentity(db);
|
SubNoIdentity(db);
|
||||||
SubIdentity(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 ####");
|
Console.WriteLine("#### Insertable End ####");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace SqlSugar
|
namespace SqlSugar
|
||||||
{
|
{
|
||||||
public partial interface IInsertable<T>
|
public partial interface IInsertable<T> where T :class,new()
|
||||||
{
|
{
|
||||||
InsertBuilder InsertBuilder { get; set; }
|
InsertBuilder InsertBuilder { get; set; }
|
||||||
int ExecuteCommand();
|
int ExecuteCommand();
|
||||||
|
Reference in New Issue
Block a user