public Fangji Create(FangjiCreateInfo createInfo) { FangjiInfo zhongyaoInfo = ObjectMapperHelper.Map<FangjiInfo>(createInfo); zhongyaoInfo.Id = Guid.NewGuid().ToString(); Fangji zhongyao = new Fangji(zhongyaoInfo); this._dataManager.FangjiDataProvider.Insert(zhongyao); this._coreManager.FangjiManager.Add(zhongyao); return zhongyao; }
public FangjiChangeInfo(Fangji zhongyao) { }