<reponame>julija9531/Otkrytiye-i-chteniye-fayla-zapis-v-fayl-38-5-000-Opening-and-reading-a-file1<filename>src/EntityFramework.Storage/Options/TableConfiguration.cs<gh_stars>0﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Healox.PermissionServer.EntityFramework.Storage.Options;

/// <summary>
/// Class to control a table's name and schema.
/// </summary>
public class TableConfiguration
{
    /// <summary>
    /// Initializes a new instance of the <see cref="TableConfiguration"/> class.
    /// </summary>
    /// <param name="name">The name.</param>
    public TableConfiguration(string name)
    {
        Name = name;
    }

    /// <summary>
    /// Initializes a new instance of the <see cref="TableConfiguration"/> class.
    /// </summary>
    /// <param name="name">The name.</param>
    /// <param name="schema">The schema.</param>
    public TableConfiguration(string name, string schema)
    {
        Name = name;
        Schema = schema;
    }

    /// <summary>
    /// Gets or sets the name.
    /// </summary>
    /// <value>
    /// The name.
    /// </value>
    public string Name { get; set; }

    /// <summary>
    /// Gets or sets the schema.
    /// </summary>
    /// <value>
    /// The schema.
    /// </value>
    public string? Schema { get; set; }
}
