示例#1
0
 public AnotherEntity(AnotherValueObject valueObject)
 {
     AnotherValueObject = valueObject;
 }
        public AnotherEntity CreateWithValueObject(AnotherValueObject valueObject)
        {
            var entity = new AnotherEntity(valueObject);

            return(entity);
        }