Example #1
0
        public TableInfo TableInfoForType(Type type)
        {
            PocoDataFactory.Guard(type);
            PocoDataBuilder pocoDataBuilder = this._pocoDatas.Get(type, () => this.Resolver(type, this));

            return(pocoDataBuilder.BuildTableInfo());
        }
Example #2
0
 public PocoData ForObject(object o, string primaryKeyName, bool autoIncrement)
 {
     return(PocoDataFactory.ForObjectStatic(o, primaryKeyName, autoIncrement, this.ForType));
 }