EJERCIO PARCIALITO CONECTADO
A)
B)
C)
D)
Crea un solución una solución en blanco en el Visual Studio 2010
Agregar un proyecto tipo Visual Basic Class Library llamado Entidades.
Agregar unproyecto tipo Visual Basic Class Library llamado DAL.
Implementar el siguiente Diagrama de Clase dentro las librarías mencionadas en
el punto B y C (notar que la librería tiene el mismo nombre que elpaquete en el
diagrama de clases).
cd Ar.Com.DM.Lug.SedeNorte
Ar.Com.Dm.DAL
Commons
-
CONEXION_POR_DEFAULT: String
+
+
+
+
+
executeNonQuery(CommandType, List (of DdParameter), String) : voidexecuteScalar(CommandType, List (Of DbParameter), String) : object
getConexionString() : String
getMyProvider() : String
getProviderFactory() : DbProviderFactory
«interface»
IRevista
Rev istaDAL
+
getAll(): List (of Revista)
«realize»
+
getAll() : List (of Revista)
Ar.Com.DM.Entidades
Rev ista
-
Articulo
articuloTapa: Integer
composicion: List (of Articulo)
fechaEdicion: Datetime
numero:Integer
-
+ Revista(Integer, Datetime, List (of Articulo), Integer) : void
property
+ composicion() : List (of Articulo)
+ fechaEdicion() : Datetime
+ numero() : Integer
cantidadPagina: Integer
copete:String
idArticulo: Integer
1..* + Articulo(String, Integer, Integer) : void
property
+ cantidadPagina() : Integer
+ copete() : String
+ idArticulo() : Integer
Notas: el ejercicio se debe desarrollarempleando el modelo de Ado.net
conectado SQL Server 2008. El sistema deber ser capaz de seguir funcionando
en caso de falla (emplear el manejo de excepciones). En caso de falla mostrar
en todas lasfuncionalidades que realicen operaciones con la base de datos el
mensaje de excepción producido por la base de datos (el objeto es
DbException).
1
E) Crear una base de datos en SQL Server 2008 llamadaParcialito e implementar el
siguiente DER.
tbl_Revista
tbl_Articulo
numero: INTEGER
idArticulo: CHAR(18)
numero: INTEGER (FK)
fechaEdicion: DATE
articuloTapa: CHAR(18)
copete: VARCHAR(20)...
Regístrate para leer el documento completo.