Exemplo n.º 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;
        }
Exemplo n.º 2
0
        public PlSqlWrapper getPLSQLWrapper(Method method)
        {
            return new PlSqlWrapper(completeMethod(method));

        }
Exemplo n.º 3
0
 public PlSqlWrapper(Method method)
 {
     _method = method;
 }