mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update GBase
This commit is contained in:
parent
1eae189b6e
commit
8ef4d41b15
@ -87,11 +87,11 @@ namespace OrmTest
|
|||||||
))
|
))
|
||||||
.Select((o, i, c) => c).ToList();
|
.Select((o, i, c) => c).ToList();
|
||||||
|
|
||||||
var twoClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
|
// var twoClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
|
||||||
JoinType.Left, o.Id == i.OrderId,
|
// JoinType.Left, o.Id == i.OrderId,
|
||||||
JoinType.Left, o.CustomId == c.Id
|
// JoinType.Left, o.CustomId == c.Id
|
||||||
))
|
// ))
|
||||||
.Select((o, i, c) => new { o,i}).ToList();
|
//.Select((o, i, c) => new { o,i}).ToList();
|
||||||
|
|
||||||
List<Dictionary<string, object>> ListDic = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
|
List<Dictionary<string, object>> ListDic = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
|
||||||
JoinType.Left, o.Id == i.OrderId,
|
JoinType.Left, o.Id == i.OrderId,
|
||||||
|
@ -9,6 +9,7 @@ namespace GbaseTest
|
|||||||
{
|
{
|
||||||
Demo0_SqlSugarClient.Init();
|
Demo0_SqlSugarClient.Init();
|
||||||
Demo1_Queryable.Init();
|
Demo1_Queryable.Init();
|
||||||
|
Demo3_Insertable.Init();
|
||||||
Console.WriteLine("Hello World!");
|
Console.WriteLine("Hello World!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,12 @@ namespace SqlSugar.GBase
|
|||||||
}
|
}
|
||||||
public override string SqlTranslationLeft { get { return ""; } }
|
public override string SqlTranslationLeft { get { return ""; } }
|
||||||
public override string SqlTranslationRight { get { return ""; } }
|
public override string SqlTranslationRight { get { return ""; } }
|
||||||
|
public override bool IsTranslationText(string name)
|
||||||
|
{
|
||||||
|
var result = name.IsContainsIn( UtilConstants.Space,"(",")");
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
public override string GetLimit() { return ""; }
|
||||||
}
|
}
|
||||||
public partial class GBaseMethod : DefaultDbMethod, IDbMethods
|
public partial class GBaseMethod : DefaultDbMethod, IDbMethods
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user