8,497
社区成员
发帖
与我相关
我的任务
分享
public static IEnumerable<AdminUser> GetAdmins()
{
return from c in dataconn.AdminUser
select c;
}
public static ? GetSessions()
{
var querysql = from c in dataconn.UserInfo
from o in c.Session
select new Session() { o.SessionId, o.Server.ServerName, c.UserName, o.ContectStatus };
return querysql;
}
public static ? GetSessions()
{
var querysql = from c in dataconn.UserInfo
from o in c.Session
select new { o.SessionId, o.Server.ServerName, c.UserName, o.ContectStatus };
return querysql;
}
public static IEnumerable GetSessions()
{
var querysql = from c in dataconn.UserInfo
from o in c.Session
select new { o.SessionId, o.Server.ServerName, c.UserName, o.ContectStatus };
return querysql;
}