You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
590 B
24 lines
590 B
using System;
|
|
|
|
namespace Znyc.Cloudcar.Admin.Commons.Core.DataManager
|
|
{
|
|
/// <summary>
|
|
/// 数据库连接配置特性
|
|
/// </summary>
|
|
public class AppDBContextAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="dbConfigName"></param>
|
|
public AppDBContextAttribute(string dbConfigName)
|
|
{
|
|
DbConfigName = dbConfigName;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 数据库配置名称
|
|
/// </summary>
|
|
public string DbConfigName { get; set; }
|
|
}
|
|
}
|