コード例 #1
0
        public AggregateRootConfigurationWrapper(AggregateRootType aggregateRootType, IEntityConfigurationWrapper <T> entityConfigurationWrapper)
        {
            Guard.Against.Null(() => aggregateRootType);
            Guard.Against.Null(() => entityConfigurationWrapper);

            this.aggregateRootType          = aggregateRootType;
            this.entityConfigurationWrapper = entityConfigurationWrapper;
        }
コード例 #2
0
            public EmptyAggregateRootConfigurationWrapper(IEntityConfigurationWrapper <T> entityConfigurationWrapper)
            {
                Guard.Against.Null(() => entityConfigurationWrapper);

                this.entityConfigurationWrapper = entityConfigurationWrapper;
            }