mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
完成延时加载开发与测试,ICollection集合待支持
This commit is contained in:
@ -23,6 +23,7 @@ namespace FreeSql.Sqlite {
|
||||
|
||||
public bool IsAutoSyncStructure { get; set; } = true;
|
||||
public bool IsSyncStructureToLower { get; set; } = false;
|
||||
public bool IsLazyLoading { get; set; } = false;
|
||||
|
||||
static object _dicCsToDbLock = new object();
|
||||
static Dictionary<string, (DbType type, string dbtype, string dbtypeFull, bool? isUnsigned, bool? isnullable, object defaultValue)> _dicCsToDb = new Dictionary<string, (DbType type, string dbtype, string dbtypeFull, bool? isUnsigned, bool? isnullable, object defaultValue)>() {
|
||||
|
@ -35,7 +35,7 @@ namespace FreeSql.Sqlite {
|
||||
this.Cache = new CacheProvider(cache, log);
|
||||
this.Ado = new SqliteAdo(this.InternalCommonUtils, this.Cache, log, masterConnectionString, slaveConnectionString);
|
||||
|
||||
this.InternalCommonUtils.CodeFirst = this.CodeFirst = new SqliteCodeFirst(this, this.InternalCommonUtils, this.InternalCommonExpression);
|
||||
this.CodeFirst = new SqliteCodeFirst(this, this.InternalCommonUtils, this.InternalCommonExpression);
|
||||
}
|
||||
|
||||
internal CommonUtils InternalCommonUtils { get; }
|
||||
|
@ -9,9 +9,7 @@ using System.Data.SQLite;
|
||||
namespace FreeSql.Sqlite {
|
||||
|
||||
class SqliteUtils : CommonUtils {
|
||||
IFreeSql _orm;
|
||||
public SqliteUtils(IFreeSql orm) {
|
||||
_orm = orm;
|
||||
public SqliteUtils(IFreeSql orm) : base(orm) {
|
||||
}
|
||||
|
||||
internal override DbParameter AppendParamter(List<DbParameter> _params, string parameterName, Type type, object value) {
|
||||
|
Reference in New Issue
Block a user