コード例 #1
0
        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);
        }
コード例 #2
0
 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);
 }
コード例 #3
0
 protected GeometriesRTree(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this.Initialize();
 }
コード例 #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);
 }
コード例 #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();
 }
コード例 #6
0
 protected CityByNameDict(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this.Initialize();
 }
コード例 #7
0
 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);
 }
コード例 #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);
 }
コード例 #9
0
 protected Person(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this._initialize();
 }
コード例 #10
0
 protected EmployeesById(JadeSoftware.Joob.ClassPersistence lifetime, System.Type type, JadeSoftware.Joob.ClassMetadata metaClass) :
     base(lifetime, type, metaClass)
 {
     this.Initialize();
 }
コード例 #11
0
 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);
 }
コード例 #12
0
ファイル: Items.cs プロジェクト: DominikaRaczak/JadeProject
 private void InitializeProperties(JadeSoftware.Joob.Client.JoobConnection connection)
 {
     metaClass = new JadeSoftware.Joob.ClassMetadata(connection, typeof(Items), "Items", "RootSchema.JadeProject", JadeSoftware.Joob.DuplicationOption.NotAllowed);
 }
コード例 #13
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);
 }
コード例 #14
0
 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);
 }