Commit 556f69da authored by 潘栩锋's avatar 潘栩锋 🚴

Merge remote-tracking branch 'remotes/origin/master' into dev6.0

parents abd54323 b3f2bc58
...@@ -9,8 +9,6 @@ namespace SQLite ...@@ -9,8 +9,6 @@ namespace SQLite
public class DBTable<T> : IDBTable public class DBTable<T> : IDBTable
where T : new() where T : new()
{ {
public List<SQLiteHelper.ArrayFieldTypeInfo> ArrayFieldTypeInfos = new List<SQLiteHelper.ArrayFieldTypeInfo>();
public string TableName { get; private set; } public string TableName { get; private set; }
private long freeID = 0; private long freeID = 0;
...@@ -32,10 +30,7 @@ namespace SQLite ...@@ -32,10 +30,7 @@ namespace SQLite
{ {
get get
{ {
if (ArrayFieldTypeInfos.Count() == 0)
return ddl; return ddl;
else
return SQLiteHelper.GetCreateTableCommandText(typeof(T), ArrayFieldTypeInfos.ToArray());
} }
} }
...@@ -81,7 +76,7 @@ namespace SQLite ...@@ -81,7 +76,7 @@ namespace SQLite
sql += " " + condition; sql += " " + condition;
DataTable dataTable = sqliteHelper.ExecuteReader(sql); DataTable dataTable = sqliteHelper.ExecuteReader(sql);
return SQLiteHelper.ToObjs<T>(dataTable, ArrayFieldTypeInfos.ToArray()); return SQLiteHelper.ToObjs<T>(dataTable);
} }
/// <summary> /// <summary>
......
...@@ -11,15 +11,6 @@ namespace SQLite ...@@ -11,15 +11,6 @@ namespace SQLite
} }
} }
public class BortherAttribute : Attribute
{
}
public class ChildAttribute : Attribute
{
}
public class PropertyIndexAttribute : Attribute public class PropertyIndexAttribute : Attribute
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment