public void SimpleWriterNullsTest()
        {
            var uri = new Uri("SqlServerNativeDataFileWriterTest_SimpleWriterNullsTest.dat.zip", UriKind.Relative);

            using (var nat = new SqlServerNativeDataFile(uri, DataFileMode.Write))
            {
                using (var cn = new SqlConnection(Jhu.Graywulf.Test.AppSettings.IOTestConnectionString))
                {
                    cn.Open();

                    using (var cmd = new SqlCommand("SELECT * FROM SampleData_NumericTypes_Null", cn))
                    {
                        using (var dr = cmd.ExecuteReader())
                        {
                            nat.WriteFromDataReader(dr);
                        }
                    }
                }
            }
        }
        public void SimpleWriterAllTypesNullableTest()
        {
            var uri = new Uri("SqlServerNativeDataFileWriterTest_SimpleWriterAllTypesNullableTest.dat.zip", UriKind.Relative);

            using (var nat = new SqlServerNativeDataFile(uri, DataFileMode.Write))
            {
                using (var cn = new SqlConnection(Jhu.Graywulf.Test.AppSettings.IOTestConnectionString))
                {
                    cn.Open();

                    using (var cmd = new SqlCommand("SELECT * FROM SampleData_AllTypes_Nullable", cn))
                    {
                        using (var dr = cmd.ExecuteReader())
                        {
                            nat.WriteFromDataReader(dr);
                        }
                    }
                }
            }
        }
 public SqlServerNativeDataFileBlock(SqlServerNativeDataFile file)
     : base(file)
 {
     InitializeMembers();
 }
 public SqlServerNativeDataFile(SqlServerNativeDataFile old)
     : base(old)
 {
     CopyMembers(old);
 }
 private void CopyMembers(SqlServerNativeDataFile old)
 {
     this.nativeWriter = null;
 }
 private void CopyMembers(SqlServerNativeDataFile old)
 {
     this.nativeWriter = null;
 }
 public SqlServerNativeDataFile(SqlServerNativeDataFile old)
     : base(old)
 {
     CopyMembers(old);
 }
 public SqlServerNativeDataFileBlock(SqlServerNativeDataFile file)
     : base(file)
 {
     InitializeMembers();
 }