コード例 #1
0
      public SqlExtendedString (string s, int stype)
	{
	  Debug.WriteLineIf (CLI.FnTrace.Enabled, "SqlExtendedString.ctor (s, stype)");
	  str = s;
	  strType = (SqlExtendedStringType)stype;
          if (str.StartsWith("nodeID://"))
            iriType = SqlExtendedStringType.BNODE;
          else
            iriType = SqlExtendedStringType.IRI;
	}
コード例 #2
0
 public SqlExtendedString(string s, int stype)
 {
     Debug.WriteLineIf(CLI.FnTrace.Enabled, "SqlExtendedString.ctor (s, stype)");
     str     = s;
     strType = (SqlExtendedStringType)stype;
     if (str.StartsWith("nodeID://"))
     {
         iriType = SqlExtendedStringType.BNODE;
     }
     else
     {
         iriType = SqlExtendedStringType.IRI;
     }
 }