fieldprop.cs

来自「.net的数据持久层」· CS 代码 · 共 36 行

CS
36
字号
using System;
using System.Reflection;

namespace Platform.Data {

	public class FieldProp : Prop {

		private string _FieldName;
		private bool _IsKeyField;
		private int _Size;

		public string FieldName {
			get { return _FieldName; }
			set { _FieldName = value; }
		}

		public bool IsKeyField {
			get { return _IsKeyField; }
			set { _IsKeyField = value; }
		}

		public int Size{
			get { return _Size; }
			set { _Size = value; }
		}
	
		public FieldProp() { }

		public FieldProp(string fieldName, bool isKeyField, int size, PropertyInfo p) : base( p ){
			this.Size = size;
			this.FieldName = fieldName;
			this.IsKeyField = isKeyField;
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?