RelationClass.cs 336 B

12345678910111213141516
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using MySystem.MainModels;
  5. namespace MySystem
  6. {
  7. public class RelationClass
  8. {
  9. public static string GetUsersInfo(int key)
  10. {
  11. Users item = UsersDbconn.Instance.Get(key) ?? new Users();
  12. return item.RealName;
  13. }
  14. }
  15. }