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

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

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