예제 #1
0
        static DataFieldItem GetField(String name)
        {
            // 取得成员列表
            Dictionary <String, DataFieldItem> dic = DataFieldItem.GetFields(typeof(TEntity));

            if (dic == null || dic.Count <= 0 || !dic.ContainsKey(name))
            {
                return(null);
            }

            return(dic[name]);
        }
예제 #2
0
 static Dictionary <String, DataFieldItem> GetFields(Type type)
 {
     return(DataFieldItem.GetFields(type));
 }