public void VerifyValidityCatchesNullColumnName()
 {
     var x = new JET_COLUMNCREATE
     {
         szColumnName = null,
     };
     x.CheckMembersAreValid();
 }
Ejemplo n.º 2
0
        public void VerifyValidityCatchesNullColumnName()
        {
            var x = new JET_COLUMNCREATE
            {
                szColumnName = null,
            };

            x.CheckMembersAreValid();
        }
 public void VerifyValidityCatchesNegativeCbDefault()
 {
     var x = new JET_COLUMNCREATE
     {
         szColumnName = "column9",
         pvDefault = new byte[0],
         cbDefault = -53,
     };
     x.CheckMembersAreValid();
 }
 public void VerifyValidityCatchesInvalidCbDefault()
 {
     var x = new JET_COLUMNCREATE
     {
         szColumnName = "column9",
         pvDefault = null,
         cbDefault = 1,
     };
     x.CheckMembersAreValid();
 }
 public void VerifyValidityCatchesWrongCbDefault()
 {
     var x = new JET_COLUMNCREATE
     {
         szColumnName = "column9",
         pvDefault = new byte[5],
         cbDefault = 6,
     };
     x.CheckMembersAreValid();
 }
Ejemplo n.º 6
0
        public void VerifyValidityCatchesWrongCbDefault()
        {
            var x = new JET_COLUMNCREATE
            {
                szColumnName = "column9",
                pvDefault    = new byte[5],
                cbDefault    = 6,
            };

            x.CheckMembersAreValid();
        }
Ejemplo n.º 7
0
        public void VerifyValidityCatchesInvalidCbDefault()
        {
            var x = new JET_COLUMNCREATE
            {
                szColumnName = "column9",
                pvDefault    = null,
                cbDefault    = 1,
            };

            x.CheckMembersAreValid();
        }
Ejemplo n.º 8
0
        public void VerifyValidityCatchesNegativeCbDefault()
        {
            var x = new JET_COLUMNCREATE
            {
                szColumnName = "column9",
                pvDefault    = new byte[0],
                cbDefault    = -53,
            };

            x.CheckMembersAreValid();
        }