Deveel.Data.RequestAccess.ObjectExists C# (CSharp) Method

ObjectExists() public method

public ObjectExists ( DbObjectType objectType, ObjectName objectName ) : bool
objectType DbObjectType
objectName ObjectName
return 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