Example #1
0
        public static string GetSpecialCharacter(IDataset pDS, esriSQLSpecialCharacters specChar)
        {
            IWorkspace pWorkspace = pDS.Workspace;
            //if (pWorkspace is ShapefileWorkspaceFactory)
            //{
            //    if (specChar == esriSQLSpecialCharacters.esriSQL_WildcardManyMatch) return "%";
            //    if (specChar == esriSQLSpecialCharacters.esriSQL_WildcardSingleMatch) return "%";
            //    if (specChar == esriSQLSpecialCharacters.esriSQL_WildcardManyMatch) return "%";
            //    if (specChar == esriSQLSpecialCharacters.esriSQL_WildcardManyMatch) return "%";
            //    if (specChar == esriSQLSpecialCharacters.esriSQL_WildcardManyMatch) return "%";
            //}
            ISQLSyntax sqlSyntax = pWorkspace as ISQLSyntax;

            if (sqlSyntax == null)
            {
                return("");
            }
            return(sqlSyntax.GetSpecialCharacter(specChar));
        }
Example #2
0
 public string GetSpecialCharacter(esriSQLSpecialCharacters sqlSC)
 {
     throw new Exception("The method or operation is not implemented.");
 }