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

            TEHelpers.LoadInstanceWithKeyValuePairs(instanceTable, instance);
        }
Exemplo 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);
        }
Exemplo n.º 3
0
 public static void FillInstance <T>(this Table table, T instance)
 {
     TEHelpers.LoadInstanceWithKeyValuePairs(table, instance);
 }