示例#1
0
 public string[] ToSqliteTypes(Dictionary <string, ESQLiteAttributeType> extraAttributes = null)
 {
     string[] types = new string[_FieldInfos.Length];
     for (int i = 0, length = _FieldInfos.Length; i < length; ++i)
     {
         var field = _FieldInfos[i];
         if (extraAttributes != null && extraAttributes.ContainsKey(field.Name))
         {
             types[i] = SQLiteUtil.ToSqliteType(field.FieldType, extraAttributes[field.Name]);
         }
         else
         {
             types[i] = SQLiteUtil.ToSqliteType(field.FieldType);
         }
     }
     return(types);
 }