1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- namespace FCS.Models
- {
-
-
-
- [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
- public sealed class TableNameAttribute : Attribute
- {
- private string _tablename;
- public string TableName { get { return _tablename; } }
-
-
-
-
- public TableNameAttribute(string TableName)
- {
- this._tablename = TableName;
- }
- }
-
-
-
- [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
- public sealed class LotteryCodeAttribute : Attribute
- {
- private string _code;
- public string Code { get { return _code; } }
-
-
-
-
- public LotteryCodeAttribute(string Code)
- {
- this._code = Code;
- }
- }
- public sealed class TableAttribute : Attribute
- {
- public string Name { get; set; }
-
-
-
-
- public TableAttribute(string Name)
- {
- this.Name = Name;
- }
- }
- }
|