1
回答

请问有错吗? 为什么查不到数据?
我想查 PartsNo字段 开头为10640 的所有内容!
c# 驱动下 请大神指教
C#
|
IMongoQuery q = Query.Matches("PartsNo", new Regex("^." + 10640 + ".*$"));
List<ParstInfo> p = new List<ParstInfo>();
p = MongoSqlHelp.Find<ParstInfo>(q).ToList<ParstInfo>();
|