- edited description
the class SQLiteNetExtensions.Extensions.ReadOperations GetWithChildren without generic arguement
Issue #150
new
the method GetWithChildren cannot be called unless a generic argument is supplied, however, the private method GetChildren in the ReadOperations class does not use the generic argument.
I propose that the interface of the ReadOperations class be extended to include a function that looks like this
public static object GetWithChildren(this SQLiteConnection conn, object pk, TableMapping table, bool recursive = false)
{
var element = conn.Get(pk, table);
conn.GetChildren(element, recursive);
return element;
}
Comments (1)
-
reporter - Log in to comment