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.
26 lines
834 B
26 lines
834 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Source
|
|
{
|
|
|
|
/// <summary>数据库记录通用字段模型。</summary>
|
|
/// <remarks>带有 Independent 特性的模型不包含此接口声明的属性。</remarks>
|
|
public interface IRecord
|
|
{
|
|
|
|
/// <summary>记录唯一键,一般使用 GUID 的字符串形式,字段长度不应超过 255 个字符。</summary>
|
|
/// <remarks>带有 Independent 特性的模型不包含此属性。</remarks>
|
|
string Key { get; set; }
|
|
|
|
/// <summary>记录的标记,区分记录的状态。</summary>
|
|
/// <remarks>带有 Independent 特性的模型不包含此属性。</remarks>
|
|
long Flag { get; set; }
|
|
|
|
/// <summary>重置 Key 属性的值。</summary>
|
|
void ResetKey();
|
|
|
|
}
|
|
|
|
}
|