Example #1
0
 [Fact] public void FromDbTypeMethodReturns_AnAny()
 {
     Assert.Equal("any", TypeScript.FromDbType("sql_variant"));
 }
Example #2
0
 [Fact] public void FromDbTypeMethodReturns_ADate()
 {
     Assert.Equal("Date", TypeScript.FromDbType("date"));
 }
Example #3
0
 [Fact] public void FromDbTypeMethodReturns_AString()
 {
     Assert.Equal("string", TypeScript.FromDbType("binary"));
 }
Example #4
0
 [Fact] public void FromDbTypeMethodReturns_ABoolean()
 {
     Assert.Equal("boolean", TypeScript.FromDbType("bit"));
 }
Example #5
0
 [Fact] public void FromDbTypeMethodReturns_ANumber()
 {
     Assert.Equal("number", TypeScript.FromDbType("bigint"));
 }