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.
41 lines
919 B
41 lines
919 B
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace RoadFlow.Data.Model
|
|
{
|
|
[Serializable]
|
|
public class DBConnection
|
|
{
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
[DisplayName("ID")]
|
|
public Guid ID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 连接名称
|
|
/// </summary>
|
|
[DisplayName("连接名称")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 连接类型
|
|
/// </summary>
|
|
[DisplayName("连接类型")]
|
|
public string Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// 连接字符串
|
|
/// </summary>
|
|
[DisplayName("连接字符串")]
|
|
public string ConnectionString { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[DisplayName("备注")]
|
|
public string Note { get; set; }
|
|
|
|
}
|
|
}
|
|
|