_itemRepository.Create(new ItemRecord { Name = "Royal True Orange", Brand = "Coca Cola", Description = "Royal True Orange in Can", Size = "1", UnitMeasure = "CASE", IsActive = true });
错误消息无法插入:[ERP.Item.Models.ItemRecord][SQL: INSERT INTO ERP_Item_ItemRecord(名称,描述,UnitMeasure,尺寸,品牌,IsActive)值(?,?,?,?,?,?);选择 SCOPE_IDENTITY()]
我用果园有问题。