private void init(int id , PickadosGenNHibernate.Enumerated.Pickados.ResultEnum result, PickadosGenNHibernate.Enumerated.Pickados.TimeEnum matchtime, double odd, string description, PickadosGenNHibernate.Enumerated.Pickados.PickResultEnum pickResult, string bookie, System.Collections.Generic.IList <PickadosGenNHibernate.EN.Pickados.PostEN> post, PickadosGenNHibernate.EN.Pickados.Event_EN event_rel) { this.Id = id; this.Result = result; this.Matchtime = matchtime; this.Odd = odd; this.Description = description; this.PickResult = pickResult; this.Bookie = bookie; this.Post = post; this.Event_rel = event_rel; }
public DoubleChanceEN(int id, PickadosGenNHibernate.Enumerated.Pickados.ResultEnum result_b , PickadosGenNHibernate.Enumerated.Pickados.ResultEnum result, PickadosGenNHibernate.Enumerated.Pickados.TimeEnum matchtime , double odd, string description, PickadosGenNHibernate.Enumerated.Pickados.PickResultEnum pickResult, string bookie, System.Collections.Generic.IList <PickadosGenNHibernate.EN.Pickados.PostEN> post, PickadosGenNHibernate.EN.Pickados.Event_EN event_rel ) { this.init(Id, result_b, result, matchtime, odd, description, pickResult, bookie, post, event_rel); }
public void ModifyResult(int p_Result_OID, double p_odd, string p_description, PickadosGenNHibernate.Enumerated.Pickados.PickResultEnum p_pickResult, string p_bookie, PickadosGenNHibernate.Enumerated.Pickados.ResultEnum p_result, PickadosGenNHibernate.Enumerated.Pickados.TimeEnum p_matchtime) { ResultEN resultEN = null; //Initialized ResultEN resultEN = new ResultEN(); resultEN.Id = p_Result_OID; resultEN.Odd = p_odd; resultEN.Description = p_description; resultEN.PickResult = p_pickResult; resultEN.Bookie = p_bookie; resultEN.Result = p_result; resultEN.Matchtime = p_matchtime; //Call to ResultCAD _IResultCAD.ModifyResult(resultEN); }
public int NewResult(double p_odd, string p_description, PickadosGenNHibernate.Enumerated.Pickados.PickResultEnum p_pickResult, string p_bookie, int p_event_rel, PickadosGenNHibernate.Enumerated.Pickados.ResultEnum p_result, PickadosGenNHibernate.Enumerated.Pickados.TimeEnum p_matchtime) { ResultEN resultEN = null; int oid; //Initialized ResultEN resultEN = new ResultEN(); resultEN.Odd = p_odd; resultEN.Description = p_description; resultEN.PickResult = p_pickResult; resultEN.Bookie = p_bookie; if (p_event_rel != -1) { // El argumento p_event_rel -> Property event_rel es oid = false // Lista de oids id resultEN.Event_rel = new PickadosGenNHibernate.EN.Pickados.Event_EN(); resultEN.Event_rel.Id = p_event_rel; } resultEN.Result = p_result; resultEN.Matchtime = p_matchtime; //Call to ResultCAD oid = _IResultCAD.NewResult(resultEN); return(oid); }
public void ModifyDobleChance(int p_DoubleChance_OID, double p_odd, string p_description, PickadosGenNHibernate.Enumerated.Pickados.PickResultEnum p_pickResult, string p_bookie, PickadosGenNHibernate.Enumerated.Pickados.ResultEnum p_result, PickadosGenNHibernate.Enumerated.Pickados.TimeEnum p_matchtime, PickadosGenNHibernate.Enumerated.Pickados.ResultEnum p_result_b) { DoubleChanceEN doubleChanceEN = null; //Initialized DoubleChanceEN doubleChanceEN = new DoubleChanceEN(); doubleChanceEN.Id = p_DoubleChance_OID; doubleChanceEN.Odd = p_odd; doubleChanceEN.Description = p_description; doubleChanceEN.PickResult = p_pickResult; doubleChanceEN.Bookie = p_bookie; doubleChanceEN.Result = p_result; doubleChanceEN.Matchtime = p_matchtime; doubleChanceEN.Result_b = p_result_b; //Call to DoubleChanceCAD _IDoubleChanceCAD.ModifyDobleChance(doubleChanceEN); }
public int NewDobleChance(double p_odd, string p_description, PickadosGenNHibernate.Enumerated.Pickados.PickResultEnum p_pickResult, string p_bookie, int p_event_rel, PickadosGenNHibernate.Enumerated.Pickados.ResultEnum p_result, PickadosGenNHibernate.Enumerated.Pickados.TimeEnum p_matchtime, PickadosGenNHibernate.Enumerated.Pickados.ResultEnum p_result_b) { DoubleChanceEN doubleChanceEN = null; int oid; //Initialized DoubleChanceEN doubleChanceEN = new DoubleChanceEN(); doubleChanceEN.Odd = p_odd; doubleChanceEN.Description = p_description; doubleChanceEN.PickResult = p_pickResult; doubleChanceEN.Bookie = p_bookie; if (p_event_rel != -1) { // El argumento p_event_rel -> Property event_rel es oid = false // Lista de oids id doubleChanceEN.Event_rel = new PickadosGenNHibernate.EN.Pickados.Event_EN(); doubleChanceEN.Event_rel.Id = p_event_rel; } doubleChanceEN.Result = p_result; doubleChanceEN.Matchtime = p_matchtime; doubleChanceEN.Result_b = p_result_b; //Call to DoubleChanceCAD oid = _IDoubleChanceCAD.NewDobleChance(doubleChanceEN); return(oid); }