コード例 #1
0
        public EL.Registrations.Householdmembers Select(EL.Registrations.Householdmembers householdmemberEL)
        {
            DataTable dt = Helper.executeQuery("select * from householdmembers where householdmemberid = '" + householdmemberEL.Householdmemberid + "'");

            if (dt.Rows.Count > 0)
            {
                householdmemberEL.Householdmemberid = Convert.ToInt32(dt.Rows[0]["householdmemberid"]);
                householdmemberEL.Householdmember   = dt.Rows[0]["householdmember"].ToString();

                return(householdmemberEL);
            }
            else
            {
                return(null);
            }
        }
コード例 #2
0
 public EL.Registrations.Householdmembers Select(EL.Registrations.Householdmembers householdmemberEL)
 {
     return(householdmemberDL.Select(householdmemberEL));
 }