public void Insert(MerchantRecommend recommend) { const string sql = @"INSERT INTO [dbo].[MerchantRecommends] ([Id], [MerchantInformationId], [RecommendContent], [RecommendPicture],[Sort],[ThumbnailId]) VALUES (@Id, @MerchantInformationId, @RecommendContent, @RecommendPicture,@Sort,@ThumbnailId);"; using (var con = WriteConnection()) { con.Execute(sql, recommend); } }
public void MerchantInfomationsSubmit(MerchantInformation information, MerchantOwnersFigure ownersfigure, MerchantRecommend recommend, MerchantCategory category) { }