public static SistemskaInstancaPodatakaRoEntity FetchSistemskaInstancaPodatakaRo(DataAccessAdapterBase adapter, PrefetchPath2 prefetchPath, long SistemskaInstancaPodatakaRoId)
 {
     SistemskaInstancaPodatakaRoEntity _SistemskaInstancaPodatakaRoEntity = new SistemskaInstancaPodatakaRoEntity(SistemskaInstancaPodatakaRoId);
     adapter.FetchEntity(_SistemskaInstancaPodatakaRoEntity, prefetchPath);
     return _SistemskaInstancaPodatakaRoEntity;
 }
示例#2
0
 /// <summary> Removes the sync logic for member _sistemskaInstancaPodataka</summary>
 /// <param name="signalRelatedEntity">If set to true, it will call the related entity's UnsetRelatedEntity method</param>
 /// <param name="resetFKFields">if set to true it will also reset the FK fields pointing to the related entity</param>
 private void DesetupSyncSistemskaInstancaPodataka(bool signalRelatedEntity, bool resetFKFields)
 {
     this.PerformDesetupSyncRelatedEntity( _sistemskaInstancaPodataka, new PropertyChangedEventHandler( OnSistemskaInstancaPodatakaPropertyChanged ), "SistemskaInstancaPodataka", NinjaSoftware.TrzisteNovca.CoolJ.RelationClasses.StaticHtmlPageRelations.SistemskaInstancaPodatakaRoEntityUsingSistemskaInstancaPodatakaIdStatic, true, signalRelatedEntity, "HtmlPageCollection", resetFKFields, new int[] { (int)HtmlPageFieldIndex.SistemskaInstancaPodatakaId } );
     _sistemskaInstancaPodataka = null;
 }
示例#3
0
 /// <summary> setups the sync logic for member _sistemskaInstancaPodataka</summary>
 /// <param name="relatedEntity">Instance to set as the related entity of type entityType</param>
 private void SetupSyncSistemskaInstancaPodataka(IEntityCore relatedEntity)
 {
     if(_sistemskaInstancaPodataka!=relatedEntity)
     {
         DesetupSyncSistemskaInstancaPodataka(true, true);
         _sistemskaInstancaPodataka = (SistemskaInstancaPodatakaRoEntity)relatedEntity;
         this.PerformSetupSyncRelatedEntity( _sistemskaInstancaPodataka, new PropertyChangedEventHandler( OnSistemskaInstancaPodatakaPropertyChanged ), "SistemskaInstancaPodataka", NinjaSoftware.TrzisteNovca.CoolJ.RelationClasses.StaticHtmlPageRelations.SistemskaInstancaPodatakaRoEntityUsingSistemskaInstancaPodatakaIdStatic, true, new string[] {  } );
     }
 }
示例#4
0
 protected HtmlPageEntity(SerializationInfo info, StreamingContext context)
     : base(info, context)
 {
     if(SerializationHelper.Optimization != SerializationOptimization.Fast)
     {
         _sistemskaInstancaPodataka = (SistemskaInstancaPodatakaRoEntity)info.GetValue("_sistemskaInstancaPodataka", typeof(SistemskaInstancaPodatakaRoEntity));
         if(_sistemskaInstancaPodataka!=null)
         {
             _sistemskaInstancaPodataka.AfterSave+=new EventHandler(OnEntityAfterSave);
         }
         this.FixupDeserialization(FieldInfoProviderSingleton.GetInstance());
     }
     // __LLBLGENPRO_USER_CODE_REGION_START DeserializationConstructor
     // __LLBLGENPRO_USER_CODE_REGION_END
 }