public Method completeMethod(Method method) { Method result = method; if (method != null) { result = _DBContext.Methods.Where(a => a.ObjectId == method.ObjectId && a.SubprogramId == method.SubprogramId && a.Overload == method.Overload) .Include(u => u.Package) .Include(a => a.Arguments) .FirstOrDefault(); } return result; }
public PlSqlWrapper getPLSQLWrapper(Method method) { return new PlSqlWrapper(completeMethod(method)); }
public PlSqlWrapper(Method method) { _method = method; }