mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-07 18:04:45 +08:00
转移.net core 3.1,为.NET 5做准备
This commit is contained in:
26
Infrastructure/Const/HtmlElementType.cs
Normal file
26
Infrastructure/Const/HtmlElementType.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace Infrastructure.Const
|
||||
{
|
||||
public struct HtmlElementType
|
||||
{
|
||||
public const string drop = "drop";
|
||||
public const string droplist = "droplist";
|
||||
public const string select = "select";
|
||||
public const string selectlist = "selectlist";
|
||||
public const string checkbox = "checkbox";
|
||||
public const string textarea = "textarea";
|
||||
public const string thanorequal = "thanorequal";
|
||||
public const string lessorequal = "lessorequal";
|
||||
|
||||
|
||||
public const string gt = "gt";
|
||||
public const string lt = "lt";
|
||||
public const string GT = ">";
|
||||
public const string LT = "<";
|
||||
public const string like = "like";
|
||||
|
||||
public const string ThanOrEqual = ">=";
|
||||
public const string LessOrequal = "<=";
|
||||
public const string Contains = "in";
|
||||
public const string Equal = "=";
|
||||
}
|
||||
}
|
||||
15
Infrastructure/Const/LinqExpressionType.cs
Normal file
15
Infrastructure/Const/LinqExpressionType.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Infrastructure.Const
|
||||
{
|
||||
public enum LinqExpressionType
|
||||
{
|
||||
Equal=0,//=
|
||||
NotEqual=1,//!=
|
||||
GreaterThan,//>
|
||||
LessThan,//<
|
||||
ThanOrEqual,//>=
|
||||
LessThanOrEqual,//<=
|
||||
In,
|
||||
Contains,//Contains
|
||||
NotContains//NotContains
|
||||
}
|
||||
}
|
||||
8
Infrastructure/Const/QueryOrderBy.cs
Normal file
8
Infrastructure/Const/QueryOrderBy.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Infrastructure.Const
|
||||
{
|
||||
public enum QueryOrderBy
|
||||
{
|
||||
Desc=1,
|
||||
Asc=2
|
||||
}
|
||||
}
|
||||
27
Infrastructure/Const/ResponseType.cs
Normal file
27
Infrastructure/Const/ResponseType.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
namespace Infrastructure.Const
|
||||
{
|
||||
public enum ResponseType
|
||||
{
|
||||
ServerError = 1,
|
||||
LoginExpiration = 302,
|
||||
ParametersLack = 303,
|
||||
TokenExpiration,
|
||||
PINError,
|
||||
NoPermissions,
|
||||
NoRolePermissions,
|
||||
LoginError,
|
||||
AccountLocked,
|
||||
LoginSuccess,
|
||||
SaveSuccess,
|
||||
AuditSuccess,
|
||||
OperSuccess,
|
||||
RegisterSuccess,
|
||||
ModifyPwdSuccess,
|
||||
EidtSuccess,
|
||||
DelSuccess,
|
||||
NoKey,
|
||||
NoKeyDel,
|
||||
KeyError,
|
||||
Other
|
||||
}
|
||||
}
|
||||
24
Infrastructure/Const/SqlDbTypeName.cs
Normal file
24
Infrastructure/Const/SqlDbTypeName.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace Infrastructure.Const
|
||||
{
|
||||
public struct SqlDbTypeName
|
||||
{
|
||||
public const string NVarChar = "nvarchar";
|
||||
public const string VarChar = "varchar";
|
||||
public const string NChar = "nchar";
|
||||
public const string Char = "char";
|
||||
public const string Text = "text";
|
||||
public const string Int = "int";
|
||||
public const string BigInt = "bigint";
|
||||
public const string DateTime = "datetime";
|
||||
public const string Date = "date";
|
||||
public const string SmallDateTime = "smalldatetime";
|
||||
public const string SmallDate = "smalldate";
|
||||
public const string Float = "float";
|
||||
public const string Decimal = "decimal";
|
||||
public const string Double = "double";
|
||||
public const string Bit = "bit";
|
||||
public const string Bool = "bool";
|
||||
public const string UniqueIdentifier = "uniqueidentifier";
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user