//public ZEBAN_D_BE ZEBAN_D_GET(IDataReader reader) //{ // ZEBAN_D_BE z = new ZEBAN_D_BE(); // try // { // while (reader.Read()) // { // z.ID = Int32.Parse(reader["ID"].ToString()); // z.BANFN = Int32.Parse(reader["BANFN"].ToString()); // z.NOMBRE = reader["NOMBRE"].ToString(); // z.EXT = reader["EXT"].ToString(); // z.INFO = (byte[])reader["INFO"]; // } // } // catch (Exception ex) // { // throw ex; // } // finally // { // reader.Close(); // } // return z; //} public List <ZEBAN_D_BE> ZEBAN_D_GET(IDataReader reader) { List <ZEBAN_D_BE> zeban = new List <ZEBAN_D_BE>(); try { while (reader.Read()) { ZEBAN_D_BE z = new ZEBAN_D_BE(); z.ID = Int32.Parse(reader["ID"].ToString()); z.BANFN = Int32.Parse(reader["BANFN"].ToString()); z.NOMBRE = reader["NOMBRE"].ToString(); z.EXT = reader["EXT"].ToString(); z.INFO = (byte[])reader["INFO"]; zeban.Add(z); } } catch (Exception ex) { throw ex; } finally { reader.Close(); } return(zeban); }
public abstract int ZEBAN_D_DELETE(ZEBAN_D_BE documentos);
public static int DELETE(ZEBAN_D_BE documento) { return(AbstractDataAccesLayerHelper.GetDataAccessLayer().ZEBAN_D_DELETE(documento)); }
public abstract int ZEBAN_D_INSERT(ZEBAN_D_BE documento);
public static int INSERT(ZEBAN_D_BE documento) { return(AbstractDataAccesLayerHelper.GetDataAccessLayer().ZEBAN_D_INSERT(documento)); }