Example #1
0
 /// <summary>
 /// Open entity views
 /// </summary>
 /// <returns></returns>
 protected override IBusinessEntity CreateBusinessEntities()
 {
     _header = OpenEntity(HeaderEntityName, true);
     _detail = OpenEntity(DetailEntityName);
     _header.Compose(new[] { _detail.View });
     return(_header);
 }
        /// <summary>
        /// Creates the business entities
        /// </summary>
        private void CreateBusinessEntitiesInternal()
        {
            _businessEntity = OpenEntity(TaxAuthorities.EntityName);
            _taxClasses     = OpenEntity("TX0001", true);

            _businessEntity.Compose(new[] { _taxClasses.View });
            _taxClasses.Compose(new[] { _businessEntity.View });
        }
 /// <summary>
 /// Creates the business entities inernal.
 /// </summary>
 private void CreateBusinessEntitiesInernal()
 {
     _businessEntity = OpenEntity(SourceJournalProfile.EntityName);
     _businessEntity.Compose(new[] { _businessEntity.View });
 }