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);
 }
 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);
 }
 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);
 }
示例#5
0
 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);
 }