Search Results for

    Show / Hide Table of Contents

    Class DatabaseObject

    Represents a database object.

    Inheritance
    Object
    DatabaseObject
    Collection<T>
    Table
    Schema
    Namespace: MySqlX.XDevAPI
    Assembly: MySql.Data.dll
    Version: 8.1.0
    Syntax
    public abstract class DatabaseObject

    Properties

    Name

    Gets the database object name.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    String

    Schema

    Gets the schema that owns the database object.

    Declaration
    public Schema Schema { get; }
    Property Value
    Type Description
    Schema

    Session

    Gets the session that owns the database object.

    Declaration
    public BaseSession Session { get; }
    Property Value
    Type Description
    BaseSession

    Methods

    ExistsInDatabase()

    Verifies that the database object exists in the database.

    Declaration
    public abstract bool ExistsInDatabase()
    Returns
    Type Description
    Boolean

    True if the object exists in database, false otherwise.

    ValidateOpenSession()

    Declaration
    protected void ValidateOpenSession()
    In This Article
    Back to top Copyright © 2021, 2023, Oracle and/or its affiliates.