public static void Insert(ART_SeguridadRolInfo _ART_SeguridadRolInfo) { _AdoHelper.ExecuteNonQuery(ConnectionString, "ART_SeguridadRolInsert", new SqlParameter("@SeguridadRolId", _ART_SeguridadRolInfo.SeguridadRolId), new SqlParameter("@DescripcionRol", _ART_SeguridadRolInfo.DescripcionRol), new SqlParameter("@Activo", _ART_SeguridadRolInfo.Activo) ); }
/// <summary> /// Creates a new instance of the ART_SeguridadRol class and populates it with data from the specified SqlDataReader. /// </summary> private static ART_SeguridadRolInfo MakeART_SeguridadRol(SqlDataReader dataReader) { ART_SeguridadRolInfo aRT_SeguridadRol = new ART_SeguridadRolInfo(); if (dataReader.IsDBNull(SeguridadRolId) == false) aRT_SeguridadRol.SeguridadRolId = dataReader.GetInt32(SeguridadRolId); if (dataReader.IsDBNull(DescripcionRol) == false) aRT_SeguridadRol.DescripcionRol = dataReader.GetString(DescripcionRol); if (dataReader.IsDBNull(Activo) == false) aRT_SeguridadRol.Activo = dataReader.GetBoolean(Activo); return aRT_SeguridadRol; }