示例#1
0
        public Method2IdTable(Type T)
        {
            _funcIdTable = new System.Collections.Hashtable();
            var mis = T.GetMethods();

            foreach (var mi in mis)
            {
                if (DataChangeAttribute.IsDataChangeMethod(mi))
                {
                    _funcIdTable.Add(mi, sid++);
                }
            }
        }
示例#2
0
 private static bool IsValidMethod(MethodInfo methodInfo)
 {
     return(DataChangeAttribute.IsDataChangeMethod(methodInfo));
 }