Exemplo n.º 1
0
 /// <summary>
 /// 校验并返回与数据源一致的条件查询语句
 /// <para>例如eType == <see cref="EWorkspaceType.Access"/>,条件查询语句为 BH like '440101%',则返回结果为 BH like '440101*'</para>
 /// </summary>
 /// <param name="eType">数据源类型</param>
 /// <param name="whereClause">需要校验的条件查询语句</param>
 public static string ValidateWhereClause(EWorkspaceType eType, string whereClause) =>
 TableEx.ValidateWhereClause(eType, whereClause);
Exemplo n.º 2
0
 /// <summary>
 /// 校验并返回与数据源一致的条件查询语句
 /// (例如table的数据源是mdb,条件查询语句为 BH like '440101%',则返回结果为 BH like '440101*')
 /// </summary>
 /// <param name="featureClass">执行条件查询的要素类</param>
 /// <param name="whereClause">需要校验的条件查询语句</param>
 public static string ValidateWhereClause(this IFeatureClass featureClass, string whereClause) =>
 TableEx.ValidateWhereClause(featureClass as ITable, whereClause);
Exemplo n.º 3
0
 /// <summary>
 /// 校验并返回与数据源一致的条件查询语句
 /// <para>例如eType == <see cref="EWorkspaceType.Access"/>,条件查询语句为 BH like '440101%',则返回结果为 BH like '440101*'</para>
 /// </summary>
 /// <param name="eType">数据源类型</param>
 /// <param name="whereClause">需要校验的条件查询语句</param>
 public static string ValidateWhereClause(EWorkspaceType eType, string whereClause)
 {
     return(TableEx.ValidateWhereClause(eType, whereClause));
 }