public static bool Save(this IRCoreEntitiesSite db) { return(((DbContext)db).Save()); }
public static bool Save <T>(this IRCoreEntitiesSite db, T obj, bool updateDataBase = true, bool withException = false, params string[] pkNames) where T : class { return(((DbContext)db).Save(obj, updateDataBase, withException, pkNames)); }