拆分 FreeSql 按需引用

This commit is contained in:
28810
2019-05-28 21:32:54 +08:00
parent 37ed28f7a0
commit f8e897e201
149 changed files with 945 additions and 4082 deletions

View File

@ -4,7 +4,7 @@ using System.Reflection;
using System.Text;
namespace FreeSql.Internal.Model {
class ReadAnonymousTypeInfo {
public class ReadAnonymousTypeInfo {
public PropertyInfo Property { get; set; }
public string CsName { get; set; }
public Type CsType { get; set; }
@ -15,5 +15,5 @@ namespace FreeSql.Internal.Model {
public List<ReadAnonymousTypeInfo> Childs = new List<ReadAnonymousTypeInfo>();
public TableInfo Table { get; set; }
}
enum ReadAnonymousTypeInfoConsturctorType { Arguments, Properties }
public enum ReadAnonymousTypeInfoConsturctorType { Arguments, Properties }
}

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Text;
namespace FreeSql.Internal.Model {
class SelectColumnInfo {
public class SelectColumnInfo {
public ColumnInfo Column { get; set; }
public SelectTableInfo Table { get; set; }
}

View File

@ -1,7 +1,7 @@
using System.Linq.Expressions;
namespace FreeSql.Internal.Model {
class SelectTableInfo {
public class SelectTableInfo {
public TableInfo Table { get; set; }
private string _alias;
@ -18,5 +18,5 @@ namespace FreeSql.Internal.Model {
public ParameterExpression Parameter { get; set; }
public SelectTableInfoType Type { get; set; }
}
enum SelectTableInfoType { From, LeftJoin, InnerJoin, RightJoin, Parent }
public enum SelectTableInfoType { From, LeftJoin, InnerJoin, RightJoin, Parent }
}