Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

丁松杰 / Pole

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • Pole
  • src
  • Pole.EventStorage.PostgreSql
  • EFOptions.cs
Find file
BlameHistoryPermalink
  • 丁松杰's avatar
    添加 本地消息表 基本存储逻辑 本地表的初始化逻辑,添加 本地消息表 事务适配器,事务连接器 · 27593c6c
    丁松杰 committed 5 years ago
    27593c6c
EFOptions.cs 604 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
using System;
using System.Collections.Generic;
using System.Text;

namespace Pole.EventStorage.PostgreSql
{
    public class EFOptions
    {
        public const string DefaultSchema = "pole";
        public const string DefaultTable = "Events";
        /// <summary>
        /// Gets or sets the schema to use when creating database objects.
        /// Default is <see cref="DefaultSchema" />.
        /// </summary>
        public string Schema { get; set; } = DefaultSchema;
        public string TableName { get; set; } = DefaultTable;

        internal Type DbContextType { get; set; }
    }
}