示例#1
0
        public void CreateMetaData()
        {
            var meta = SqlSmallInt.GetTypeHandler().CreateMetaData("Test");

            Assert.AreEqual(SqlDbType.SmallInt, meta.SqlDbType);
            Assert.AreEqual("Test", meta.Name);
        }
示例#2
0
 public void GetTypeHandler()
 {
     Assert.IsInstanceOf <SqlTypeHandler>(SqlSmallInt.GetTypeHandler());
 }