public bool HasContext(ObjectContext context) { createInstance(); bool HasCont = BaseDBObject.HasContext(context); tr.Dispose(); return(HasCont); }