Exemplo n.º 1
0
        private static void WriteNVarChar(string text, uint length, string myFileName)
        {
            BinaryWriter writer = BCPTests.CreateBinaryFile(myFileName);

            SQLNVarChar sql = new SQLNVarChar(length);

            sql.Write(writer, text);

            writer.Close();
        }
Exemplo n.º 2
0
        private static void WriteNVarChar(string text, uint length, string myFileName)
        {
            BinaryWriter writer = BCPTests.CreateBinaryFile(myFileName);

            SQLNVarChar sql = new SQLNVarChar(length);
            sql.Write(writer, text);

            writer.Close();
        }