Exemplo n.º 1
0
 public void Accumulate(SqlString colName, SqlString colId, SqlString ColVal)
 {
     if (!isInitialized)
     {
         concatStr     = new StringBuilder();
         isInitialized = true;
     }
     if ((SqlInt32)colId < 50 && (SqlInt32)ColVal < 2)
     {
         concatStr = concatStr + colId + "," + ColVal + ".";
     }
 }
Exemplo n.º 2
0
        public string GetJsonString()
        {
            var sb         = new StringBuilder();
            var jsonString = new List <string> {
                Stringbuilder.ToString()
            };

            AppendDataToTrace(ElasticJsonWriterChildItem, jsonString);

            for (var i = jsonString.Count - 1; i == 0; i--)
            {
                sb.Append(jsonString[i]);
            }

            return(sb.ToString());
        }
Exemplo n.º 3
0
 public void Read(BinaryReader r)
 {
     concatStr = new StringBuilder(r.ReadString());
 }