1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using Library;
- using System.Linq;
- using MySystem.MainModels;
- namespace MySystem
- {
- public class UserForMobileDbconn
- {
- public readonly static UserForMobileDbconn Instance = new UserForMobileDbconn();
- #region 获取单个字段
- public UserForMobile Get(string Mobile)
- {
-
-
-
-
-
-
-
-
-
- WebCMSEntities db = new WebCMSEntities();
- UserForMobile userFor = db.UserForMobile.FirstOrDefault(m => m.Mobile == Mobile);
- if (userFor != null)
- {
-
-
- }
- db.Dispose();
- return userFor;
- }
- #endregion
- }
- }
|