init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Zhaizj.Framework.Data {
|
||||
|
||||
/// <summary>
|
||||
/// 数据库连接项的类型
|
||||
/// </summary>
|
||||
public enum ConnectionItemType {
|
||||
Server,
|
||||
UserId,
|
||||
Password,
|
||||
Database
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Zhaizj.Framework.Data {
|
||||
|
||||
/// <summary>
|
||||
/// Zhaizj.Framework ORM 支持的数据库类型
|
||||
/// </summary>
|
||||
public enum DatabaseType {
|
||||
Access,
|
||||
SqlServer,
|
||||
SqlServer2000,
|
||||
MySql,
|
||||
SQLite,
|
||||
Oracle,
|
||||
Other
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
|
||||
namespace Zhaizj.Framework.Data {
|
||||
|
||||
/// <summary>
|
||||
/// 实体键值类型
|
||||
/// </summary>
|
||||
public static class IdType
|
||||
{
|
||||
/// <summary>
|
||||
/// 自动(默认类型)
|
||||
/// </summary>
|
||||
public static readonly string Auto="auto";
|
||||
|
||||
/// <summary>
|
||||
/// 整型
|
||||
/// </summary>
|
||||
public static readonly string Int = "int";
|
||||
|
||||
/// <summary>
|
||||
/// 长整型
|
||||
/// </summary>
|
||||
public static readonly string Long = "long";
|
||||
|
||||
/// <summary>
|
||||
/// Globally Unique Identifier(全球唯一标识符) 也称作 UUID(Universally Unique IDentifier) 。
|
||||
/// </summary>
|
||||
public static readonly string Guid = "guid";
|
||||
|
||||
/// <summary>
|
||||
/// 字符型
|
||||
/// </summary>
|
||||
public static readonly string String = "string";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Zhaizj.Framework.Data {
|
||||
|
||||
/// <summary>
|
||||
/// 参数类型
|
||||
/// </summary>
|
||||
public enum ParameterType {
|
||||
Integer,
|
||||
Char,
|
||||
VarChar
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user