コード例 #1
0
 public Address()
 {
     this._CustomerAddresses = new Iesi.Collections.HashedSet();
     this._SalesOrderHeaders_ShipToAddressID = new Iesi.Collections.HashedSet();
     this._SalesOrderHeaders_BillToAddressID = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #2
0
 public BeholderOrganization()
 {
     this._BeholderOrganizationStatusHistories = new Iesi.Collections.HashedSet();
     this._BeholderChapters = new Iesi.Collections.HashedSet();
     this._BeholderAliasOrganizationRels = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #3
0
 public void OnDelete(NHibernate.Event.DeleteEvent e, Iesi.Collections.ISet transientEntities)
 {
     if (e.Entity is IOnDelete)
     {
         (e.Entity as IOnDelete).OnDelete(this, e, transientEntities);
     }
 }
コード例 #4
0
 public BeholderCompany()
 {
     this._BeholderContactCompanyRels = new Iesi.Collections.HashedSet();
     this._BeholderAliasCompanyRels   = new Iesi.Collections.HashedSet();
     this._BeholderAddressCompanyRels = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #5
0
 public BeholderPerson()
 {
     this._BeholderChapterPersonRels = new Iesi.Collections.HashedSet();
     this._BeholderAliasPersonRels   = new Iesi.Collections.HashedSet();
     this._BeholderPersonScreenNames = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #6
0
 public CommonAlias()
 {
     this._BeholderAliasPersonRels  = new Iesi.Collections.HashedSet();
     this._BeholderAliasCompanyRels = new Iesi.Collections.HashedSet();
     this._BeholderAliasChapterRels = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #7
0
 public CommonContact()
 {
     this._BeholderContactCompanyRels = new Iesi.Collections.HashedSet();
     this._BeholderContactChapterRels = new Iesi.Collections.HashedSet();
     this._CommonContactPersonRels    = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #8
0
 public BeholderChapter()
 {
     this._BeholderContactChapterRels     = new Iesi.Collections.HashedSet();
     this._BeholderAddressChapterRels     = new Iesi.Collections.HashedSet();
     this._BeholderChapterPersonRels      = new Iesi.Collections.HashedSet();
     this._BeholderChapterStatusHistories = new Iesi.Collections.HashedSet();
     this._BeholderAliasChapterRels       = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #9
0
 public CommonPerson()
 {
     this._BeholderContacts        = new Iesi.Collections.HashedSet();
     this._BeholderPeople          = new Iesi.Collections.HashedSet();
     this._CommonAddressPersonRels = new Iesi.Collections.HashedSet();
     this._CommonContactPersonRels = new Iesi.Collections.HashedSet();
     this._SecurityUsers_PersonId  = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #10
0
 public BeholderMovementClass()
 {
     this._BeholderCompanies     = new Iesi.Collections.HashedSet();
     this._BeholderChapters      = new Iesi.Collections.HashedSet();
     this._BeholderEvents        = new Iesi.Collections.HashedSet();
     this._BeholderOrganizations = new Iesi.Collections.HashedSet();
     this._BeholderPeople        = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #11
0
 public CommonAddressType()
 {
     this._BeholderAddressEventRels         = new Iesi.Collections.HashedSet();
     this._BeholderAddressContactRels       = new Iesi.Collections.HashedSet();
     this._BeholderAddressSubscriptionsRels = new Iesi.Collections.HashedSet();
     this._BeholderAddressCompanyRels       = new Iesi.Collections.HashedSet();
     this._BeholderAddressVehicleTagRels    = new Iesi.Collections.HashedSet();
     this._CommonAddressPersonRels          = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #12
0
 public BeholderConfidentialityType()
 {
     this._BeholderCompanies     = new Iesi.Collections.HashedSet();
     this._BeholderChapters      = new Iesi.Collections.HashedSet();
     this._BeholderEvents        = new Iesi.Collections.HashedSet();
     this._BeholderOrganizations = new Iesi.Collections.HashedSet();
     this._BeholderContacts      = new Iesi.Collections.HashedSet();
     this._BeholderPeople        = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #13
0
 public BeholderActiveStatus()
 {
     this._BeholderOrganizationStatusHistories = new Iesi.Collections.HashedSet();
     this._BeholderSubscriptions          = new Iesi.Collections.HashedSet();
     this._BeholderCompanies              = new Iesi.Collections.HashedSet();
     this._BeholderChapters               = new Iesi.Collections.HashedSet();
     this._BeholderOrganizations          = new Iesi.Collections.HashedSet();
     this._BeholderChapterStatusHistories = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #14
0
 public LookupType()
 {
     this.Prefix        = new Iesi.Collections.HashedSet();
     this.Suffix        = new Iesi.Collections.HashedSet();
     this.LicenseType   = new Iesi.Collections.HashedSet();
     this.HairColor     = new Iesi.Collections.HashedSet();
     this.HairPattern   = new Iesi.Collections.HashedSet();
     this.EyeColor      = new Iesi.Collections.HashedSet();
     this.Race          = new Iesi.Collections.HashedSet();
     this.MartialStatus = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #15
0
 public CommonPrimaryStatus()
 {
     this._BeholderContactCompanyRels       = new Iesi.Collections.HashedSet();
     this._BeholderContactChapterRels       = new Iesi.Collections.HashedSet();
     this._BeholderAddressChapterRels       = new Iesi.Collections.HashedSet();
     this._BeholderAddressEventRels         = new Iesi.Collections.HashedSet();
     this._BeholderAddressContactRels       = new Iesi.Collections.HashedSet();
     this._BeholderAliasPersonRels          = new Iesi.Collections.HashedSet();
     this._BeholderPersonScreenNames        = new Iesi.Collections.HashedSet();
     this._BeholderAliasOrganizationRels    = new Iesi.Collections.HashedSet();
     this._BeholderAliasCompanyRels         = new Iesi.Collections.HashedSet();
     this._BeholderAliasChapterRels         = new Iesi.Collections.HashedSet();
     this._BeholderAddressSubscriptionsRels = new Iesi.Collections.HashedSet();
     this._BeholderAddressCompanyRels       = new Iesi.Collections.HashedSet();
     this._BeholderAddressVehicleTagRels    = new Iesi.Collections.HashedSet();
     this._CommonAddressPersonRels          = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #16
0
		public Fum(FumCompositeID id)
		{
			_id = id;
			_friends = new Iesi.Collections.HashedSet();
			//TODO: H2.0.3 - this is diff from H2.0.3 because I am getting a null exception
			// when executing the Sql.  H203 uses the CalendarType which we don't have so
			// I am using DateTime instead...
			//m_LastUpdated = DateTime.Now;
			
			FumCompositeID fid = new FumCompositeID();
			fid.Date= new DateTime(2004, 4, 29, 9, 50, 0, 0);
			fid.Short= (short) ( id.Short + 33 );
			fid.String= id.String + "dd";
			
			Fum f = new Fum();
			f.Id = fid;
			f.FumString="FRIEND";
			//TODO: H2.0.3 - this is diff from H2.0.3 because I am getting a null exception
			// when executing the Sql.  H203 uses the CalendarType which we don't have so
			// I am using DateTime instead...
			//f.LastUpdated = DateTime.Now;

			_friends.Add( f );
		}
コード例 #17
0
 public CommonVehicleColor()
 {
     this._BeholderVehicles = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #18
0
 public CommonVehicleMake()
 {
     this._BeholderVehicles    = new Iesi.Collections.HashedSet();
     this._CommonVehicleModels = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #19
0
		public void AddToStringSet(string stringValue) 
		{
			if(StringSet==null)
			{
				StringSet = new Iesi.Collections.HashedSet();
			}
			StringSet.Add( stringValue );
		}
コード例 #20
0
 Iesi.Collections.ISet Iesi.Collections.ISet.ExclusiveOr(Iesi.Collections.ISet a)
 {
     return((Iesi.Collections.ISet) this.ExclusiveOr((Iesi.Collections.Generic.ISet <T>)a));
 }
コード例 #21
0
 public BeholderLookupType()
 {
     this.ConfidentialityType = new Iesi.Collections.HashedSet();
     this.MovementClass       = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #22
0
		public Node(string id) 
		{
			_destinationNodes = new Iesi.Collections.HashedSet();
			_previousNodes = new Iesi.Collections.HashedSet();
			_id = id;
		}
コード例 #23
0
 public ProductDescription()
 {
     this._ProductModelProductDescriptions = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #24
0
 public BeholderBusinessClass()
 {
     this._BeholderCompanies = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #25
0
 public CommonMotorcycleMake()
 {
     this._CommonMotorcycleModels = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #26
0
 public BeholderSubscription()
 {
     this._BeholderAddressSubscriptionsRels = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #27
0
 public BeholderEventDocumentationType()
 {
     this._BeholderEvents = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #28
0
 public ProductCategory()
 {
     this._Products = new Iesi.Collections.HashedSet();
     this._ProductCategories_ParentProductCategoryID = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #29
0
 Iesi.Collections.ISet Iesi.Collections.ISet.Union(Iesi.Collections.ISet a)
 {
     return((Iesi.Collections.ISet) this.Union((Iesi.Collections.Generic.ISet <T>)a));
 }
コード例 #30
0
 Iesi.Collections.ISet Iesi.Collections.ISet.Intersect(Iesi.Collections.ISet a)
 {
     return((Iesi.Collections.ISet) this.Intersect((Iesi.Collections.Generic.ISet <T>)a));
 }
コード例 #31
0
 public Customer()
 {
     this._CustomerAddresses = new Iesi.Collections.HashedSet();
     this._SalesOrderHeaders = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #32
0
 Iesi.Collections.ISet Iesi.Collections.ISet.Minus(Iesi.Collections.ISet a)
 {
     return((Iesi.Collections.ISet) this.Minus((Iesi.Collections.Generic.ISet <T>)a));
 }
コード例 #33
0
 public CommonPrefix()
 {
     this._CommonPeople = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #34
0
 public BeholderEvent()
 {
     this._BeholderAddressEventRels = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #35
0
 public SalesOrderHeader()
 {
     this._SalesOrderDetails = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #36
0
        protected override void DeleteEntity(global::NHibernate.Event.IEventSource session, object entity, global::NHibernate.Engine.EntityEntry entityEntry, bool isCascadeDeleteEnabled, global::NHibernate.Persister.Entity.IEntityPersister persister, Iesi.Collections.ISet transientEntities)
        {
            ILogicalDelete logicalDelete = entity as ILogicalDelete;

            if (logicalDelete != null)
            {
                logicalDelete.IsDeleted = true;

                this.CascadeBeforeDelete(session, persister, entity, entityEntry, transientEntities);
                this.CascadeAfterDelete(session, persister, entity, transientEntities);
            }
            else
            {
                base.DeleteEntity(session, entity, entityEntry, isCascadeDeleteEnabled, persister, transientEntities);
            }
        }
コード例 #37
0
 public BeholderVehicle()
 {
     this._BeholderVehicleTags = new Iesi.Collections.HashedSet();
     OnCreated();
 }
コード例 #38
0
        protected override void DeleteEntity(IEventSource session, object entity, EntityEntry entityEntry, bool isCascadeDeleteEnabled, NHibernate.Persister.Entity.IEntityPersister persister, Iesi.Collections.ISet transientEntities)
        {
            var entityBase = entity as EntityBase;

            if (entityBase != null)
            {
                entityBase.IsDeleted = true;
            }
        }