Deveel.Data.RequestAccess.ObjectExists C# (CSharp) Méthode

ObjectExists() public méthode

public ObjectExists ( DbObjectType objectType, ObjectName objectName ) : bool
objectType DbObjectType
objectName ObjectName
Résultat bool
        public override bool ObjectExists(DbObjectType objectType, ObjectName objectName)
        {
            if (objectType == DbObjectType.Cursor &&
                Request.Context.CursorExists(objectName.Name))
                return true;
            if (objectType == DbObjectType.Variable &&
                Request.Context.VariableExists(objectName.Name))
                return true;
            if (objectType == DbObjectType.Trigger &&
                Request.Context.TriggerExists(objectName.Name))
                return true;

            return base.ObjectExists(objectType, objectName);
        }

Same methods

RequestAccess::ObjectExists ( ObjectName objectName ) : bool