private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
        {
            MetadataCache <JoobGeometryMetadata> .LoadData(null);

            metaClass    = new JadeSoftware.Joob.ClassMetadata(connection, typeof(StateByGeomRTree), "StateByGeomRTree", "RootSchema.JoobSpatialDemoSchema", JadeSoftware.Joob.DuplicationOption.NotAllowed);
            this.GeomKey = metaClass.CheckMemberKey(typeof(StateByGeomRTree), typeof(State), "geom", typeof(JoobGeometry), JadeSoftware.Joob.CaseSensitivityOption.Sensitive, JadeSoftware.Joob.KeyOrderOption.Ascending);
        }
 private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass    = new JadeSoftware.Joob.ClassMetadata(connection, typeof(GeometriesRTree), "GeometriesRTree", "RootSchema.JoobSpatialDemoSchema", JadeSoftware.Joob.DuplicationOption.NotAllowed);
     this.GeomKey = metaClass.CheckExternalKey(typeof(GeometriesRTree), "geom", typeof(JoobGeometry), JadeSoftware.Joob.CaseSensitivityOption.Sensitive, JadeSoftware.Joob.KeyOrderOption.Ascending);
 }
 protected GeometriesRTree(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this.Initialize();
 }
Exemple #4
0
 public JoobSpatialDemoSchemaMetadata(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass = new JadeSoftware.Joob.ClassMetadata(connection, typeof(JoobSpatialDemoSchema), "JoobSpatialDemoSchema", "RootSchema.JoobSpatialDemoSchema");
     this.InitializeProperties(connection);
     this.InitializeDynamicProperties(connection);
 }
Exemple #5
0
 protected JoobSpatialDemoSchema(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass, params System.Object[] parameters) :
     base(lifetime, type, metaClass, parameters)
 {
     this._initialize();
 }
 protected CityByNameDict(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this.Initialize();
 }
 private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass    = new JadeSoftware.Joob.ClassMetadata(connection, typeof(CityByNameDict), "CityByNameDict", "RootSchema.JoobSpatialDemoSchema", JadeSoftware.Joob.DuplicationOption.Allowed);
     this.NameKey = metaClass.CheckMemberKey(typeof(CityByNameDict), typeof(City), "name", typeof(String), 50, JadeSoftware.Joob.CaseSensitivityOption.Sensitive, JadeSoftware.Joob.KeyOrderOption.Ascending);
 }
Exemple #8
0
 public PersonMetadata(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass = new JadeSoftware.Joob.ClassMetadata(connection, typeof(Person), "Person", "RootSchema.JadeProject");
     this.InitializeProperties(connection);
     this.InitializeDynamicProperties(connection);
 }
Exemple #9
0
 protected Person(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this._initialize();
 }
 protected EmployeesById(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this.Initialize();
 }
 private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass  = new JadeSoftware.Joob.ClassMetadata(connection, typeof(EmployeesById), "EmployeesById", "RootSchema.JadeProject", JadeSoftware.Joob.DuplicationOption.NotAllowed);
     this.IdKey = metaClass.CheckMemberKey(typeof(EmployeesById), typeof(Employee), "id", typeof(Int32), JadeSoftware.Joob.CaseSensitivityOption.Sensitive, JadeSoftware.Joob.KeyOrderOption.Ascending);
 }
Exemple #12
0
 private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass = new JadeSoftware.Joob.ClassMetadata(connection, typeof(Items), "Items", "RootSchema.JadeProject", JadeSoftware.Joob.DuplicationOption.NotAllowed);
 }
 private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass     = new JadeSoftware.Joob.ClassMetadata(connection, typeof(Positions), "Positions", "RootSchema.JadeProject", JadeSoftware.Joob.DuplicationOption.NotAllowed);
     this.TitleKey = metaClass.CheckMemberKey(typeof(Positions), typeof(Position), "title", typeof(String), 30, JadeSoftware.Joob.CaseSensitivityOption.Sensitive, JadeSoftware.Joob.KeyOrderOption.Ascending);
 }
 private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass    = new JadeSoftware.Joob.ClassMetadata(connection, typeof(StateByAbbrDict), "StateByAbbrDict", "RootSchema.JoobSpatialDemoSchema", JadeSoftware.Joob.DuplicationOption.NotAllowed);
     this.AbbrKey = metaClass.CheckMemberKey(typeof(StateByAbbrDict), typeof(State), "abbr", typeof(String), 2, JadeSoftware.Joob.CaseSensitivityOption.Sensitive, JadeSoftware.Joob.KeyOrderOption.Ascending);
 }