Beispiel #1
0
        protected override void OnLoaded()
        {
            base.OnLoaded();
            _listBeMonitorField = new List <ConmonFunctionForUpdate.MonitorField>
            {
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_AppDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.dt_AppDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_PubDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.dt_PubDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_CertfDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.dt_CertfDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_PCTAppDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.dt_PCTAppDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_PCTPubDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.dt_PCTPubDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_PCTInNationDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.dt_PCTInNationDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_IssuedPubDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.dt_IssuedPubDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.RelatedInfo, FieldName = "s_AppNo", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheLawInfo.s_AppNo"
                },
            };
            var type = this.GetType();

            _xplCopyOfObject = Activator.CreateInstance(type, new[] { new UnitOfWork() }) as XPLiteObject;
            ConmonFunctionForUpdate.CopyDataEntityFileds(this, _xplCopyOfObject, _listBeMonitorField);
        }
Beispiel #2
0
        protected override void OnLoaded()
        {
            base.OnLoaded();
            _listBeMonitorField = new List <ConmonFunctionForUpdate.MonitorField>
            {
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_TransmitDate", CodeNameSpace = "DataEntities.Element.Files.InFile", CodeFieldName = "dt_TransmitDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_GetCertificatedate", CodeNameSpace = "DataEntities.Element.Files.InFile", CodeFieldName = "dt_GetCertificatedate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_ReceiveDate", CodeNameSpace = "DataEntities.Element.Files.BaseFile", CodeFieldName = "dt_ReceiveDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_SendDate", CodeNameSpace = "DataEntities.Element.Files.BaseFile", CodeFieldName = "dt_SendDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_CreateDate", CodeNameSpace = "DataEntities.Element.Files.BaseFile", CodeFieldName = "dt_CreateDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.RelatedInfo, FieldName = "s_Name", CodeNameSpace = "DataEntities.Element.Files.BaseFile", CodeFieldName = "s_Name"
                },
            };
            var type = this.GetType();

            _xplCopyOfObject = Activator.CreateInstance(type, new[] { new UnitOfWork() }) as XPLiteObject;
            ConmonFunctionForUpdate.CopyDataEntityFileds(this, _xplCopyOfObject, _listBeMonitorField);
        }
Beispiel #3
0
 protected override void OnSaved()
 {
     base.OnSaved();
     if (Session.IsNewObject(this))
     {
         return;
     }
     ConmonFunctionForUpdate.CompareDataEntityFiledsForDeadline(this, _xplCopyOfObject, _listBeMonitorDateField);
 }
Beispiel #4
0
        protected override void OnLoaded()
        {
            base.OnLoaded();
            _listBeMonitorField = new List <ConmonFunctionForUpdate.MonitorField>
            {
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_AppDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_AppDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_PrePubDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_PrePubDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_FormalCheckDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_FormalCheckDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_EssCheckDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_EssCheckDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_RegistrationDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_RegistrationDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_ApprovedDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_ApprovedDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_BeginDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_BeginDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_EndDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_EndDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_WithdrawDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_WithdrawDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_NextRenewal", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_NextRenewal"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_DivSubmitDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_DivSubmitDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_OrigAppDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_OrigAppDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_MadFilingDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_MadFilingDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.Deadline, FieldName = "dt_MadRegDate", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.dt_MadRegDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    MonitorType = ConmonFunctionForUpdate.EnumMonitorType.RelatedInfo, FieldName = "s_AppNo", CodeNameSpace = "DataEntities.Case.Trademarks.BasicTrademark", CodeFieldName = "TheLawInfo.s_AppNo"
                },
            };
            var type = this.GetType();

            _xplCopyOfObject = Activator.CreateInstance(type, new[] { new UnitOfWork() }) as XPLiteObject;
            ConmonFunctionForUpdate.CopyDataEntityFileds(this, _xplCopyOfObject, _listBeMonitorField);
        }
Beispiel #5
0
        protected override void OnLoaded()
        {
            base.OnLoaded();
            _listBeMonitorDateField = new List <ConmonFunctionForUpdate.MonitorField>
            {
                new ConmonFunctionForUpdate.MonitorField {
                    FieldName = "dt_PubDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheOrigPatInfo.dt_PubDate"
                },
                new ConmonFunctionForUpdate.MonitorField {
                    FieldName = "dt_IssuedPubDate", CodeNameSpace = "DataEntities.Case.Patents.BasicPatent", CodeFieldName = "TheOrigPatInfo.dt_IssuedPubDate"
                },
            };
            var type = this.GetType();

            _xplCopyOfObject = Activator.CreateInstance(type, new[] { new UnitOfWork() }) as XPLiteObject;
            ConmonFunctionForUpdate.CopyDataEntityFileds(this, _xplCopyOfObject, _listBeMonitorDateField);
        }