Example #1
0
        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;
        }
Example #2
0
        public PlSqlWrapper getPLSQLWrapper(Method method)
        {
            return new PlSqlWrapper(completeMethod(method));

        }
Example #3
0
 public PlSqlWrapper(Method method)
 {
     _method = method;
 }