Esempio n. 1
0
        protected Entity(IAggregateRoot root, IIdentity id)
        {
            _root = root;

            _state    = new TEntityState();
            _state.Id = id;

            _root.RegisterEntity(id, this);
        }