Пример #1
0
 public bool Delete(IDailyReg entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, dailyreg) => DeleteParameters(cmd, dailyreg),
                                "delete from DailyReg where isin=@id and dailydate=@datetime"
                                ));
 }
Пример #2
0
 public bool Delete(IInstrument entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, ins) => DeleteParameters(cmd, ins),
                                "delete from Instrument where isin=@id"
                                ));
 }
Пример #3
0
 public bool Delete(IExttriple entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, exttriple) => DeleteParameters(cmd, exttriple),
                                "delete from Exttriple where id=@id and datetime=@datetime"
                                ));
 }
Пример #4
0
 public bool Delete(IDailyMarket idm)
 {
     return(mapperHelper.Delete(idm,
                                (cmd, idailymarket) => DeleteParameters(cmd, idailymarket),
                                "delete from DailyMarket where code=@id and date = @datetime"
                                ));
 }
Пример #5
0
 public bool Delete(IMarket entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, dailyreg) => DeleteParameters(cmd, dailyreg),
                                "delete from Market where code=@id"
                                ));
 }
Пример #6
0
 public bool Delete(IPhone entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, phone) => DeleteParameters(cmd, phone),
                                "delete from Phone where code=@id"
                                ));
 }
Пример #7
0
 public bool Delete(IClient iclient)
 {
     return(mapperHelper.Delete(iclient,
                                (cmd, client) => DeleteParameters(cmd, client),
                                "delete from Client where nif=@nif"
                                ));
 }
Пример #8
0
 public bool Delete(IPosition entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, position) => DeleteParameters(cmd, position),
                                "delete from Position where isin=@id1 and name=@id2"
                                ));
 }
Пример #9
0
 public bool Delete(IEmail entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, email) => DeleteParameters(cmd, email),
                                "delete from Email where code = @id"
                                ));
 }
Пример #10
0
 public bool Delete(IPortfolio entity)
 {
     return(mapperHelper.Delete(entity,
                                (cmd, portfolio) => DeleteParameters(cmd, portfolio),
                                "delete from Portfolio where name=@id"
                                ));
 }