8 namespace Deveel.Data.Types {
10 public sealed
class DataTypeParseTests : ContextBasedTest {
12 container.UseSpatial();
17 const string typeString =
"GEOMETRY";
19 Assert.Throws<NotSupportedException>(() =>
SqlType.
Parse(typeString));
24 const string typeString =
"GEOMETRY";
28 Assert.IsNotNull(type);
35 const string typeString =
"GEOMETRY(SRID = '2029')";
39 Assert.IsNotNull(type);
void SimpleGeometryWithNoContext()
override void RegisterServices(ServiceContainer container)
Defines the properties of a specific SQL Type and handles the values compatible.
static SqlType Parse(string s)
Parses a SQL formatted string that defines a data-type into a constructed SqlType object equivalent...