示例#1
0
 /// <summary>
 /// 根据ObjectID 查询
 /// </summary>
 public SysDic SelectOne(ObjectId objId)
 {
     return(mc.FindOne(Query.EQ("_id", objId)));
 }
示例#2
0
 /// <summary>
 /// 根据ObjectID 查询
 /// </summary>
 public T SelectOne(ObjectId objId)
 {
     return mc.FindOne(Query.EQ("_id", objId));
 }