mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 OracleUs7ascii 写入处理特性;
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace FreeSql.DataAnnotations
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class OracleUS7AsciiAttribute : Attribute
|
||||
{
|
||||
public OracleUS7AsciiAttribute() { }
|
||||
public OracleUS7AsciiAttribute(string encoding)
|
||||
{
|
||||
this.Encoding = encoding;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编码
|
||||
/// </summary>
|
||||
public string Encoding { get; set; } = "GB2312";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user