public void Insert(MerchantOwnersFigure ownersfigure) { const string sql = @"INSERT INTO [dbo].[MerchantOwnersFigures] ([MerchantInformationId], [FileId],[Sort],[ThumbnailId]) VALUES (@MerchantInformationId, @FileId,@Sort,@ThumbnailId);"; using (var con = WriteConnection()) { con.Execute(sql, ownersfigure); } }
public async Task InsertAsync(MerchantOwnersFigure ownersfigure) { const string sql = @"INSERT INTO [dbo].[MerchantOwnersFigures] ([MerchantInformationId], [FileId],[Sort],[ThumbnailId]) VALUES (@MerchantInformationId, @FileId,@Sort,@ThumbnailId);"; using (var con = await WriteConnectionAsync()) { await con.ExecuteAsync(sql, ownersfigure); } }
public void MerchantInfomationsSubmit(MerchantInformation information, MerchantOwnersFigure ownersfigure, MerchantRecommend recommend, MerchantCategory category) { }