lichunlei пре 3 месеци
родитељ
комит
c2c860d430
1 измењених фајлова са 14 додато и 2 уклоњено
  1. 14 2
      Model/Database/ApiInfo.cs

+ 14 - 2
Model/Database/ApiInfo.cs

@@ -303,8 +303,20 @@ namespace Model
         /// 字段名
         /// </summary>
         public string fieldName { get; set; }
-        public string fieldNameUpper { get; set; }
-        public string fieldNameFirstUpper { get; set; }
+        public string fieldNameUpper
+        {
+            get
+            {
+                return PublicFunction.transferName(fieldName);
+            }
+        }
+        public string fieldNameFirstUpper
+        {
+            get
+            {
+                return PublicFunction.transferName(fieldName, 1);
+            }
+        }
 
 
         /// <summary>