public static void FillInstance <T>(this Table table, T instance)
        {
            var instanceTable = TEHelpers.GetTheProperInstanceTable <T>(table);

            TEHelpers.LoadInstanceWithKeyValuePairs(instanceTable, instance);
        }
        public static void FillInstance(this Table table, object instance, InstanceCreationOptions creationOptions)
        {
            var instanceTable = TEHelpers.GetTheProperInstanceTable(table, instance.GetType());

            TEHelpers.LoadInstanceWithKeyValuePairs(instanceTable, instance, creationOptions);
        }
示例#3
0
 public static void FillInstance <T>(this Table table, T instance)
 {
     TEHelpers.LoadInstanceWithKeyValuePairs(table, instance);
 }