modificacion diseño bbdd
parent
e21308ed69
commit
d9a77d2672
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ClassDiagram />
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
// La generación de código T4 está habilitada para el modelo 'C:\Proyectos\Visual Studio 2015\Projects\Exferia_Librerias_Proyectos\Exferia_EntityFramework\Exferia_EntityFramework\EF_BaseDatos.edmx'.
|
||||
// Para habilitar la generación de código heredada, cambie el valor de la propiedad del diseñador 'Estrategia de generación de código'
|
||||
// por 'ObjectContext heredado'. Esta propiedad está disponible en la ventana Propiedades cuando se abre
|
||||
// el modelo en el diseñador.
|
||||
// T4 code generation is enabled for model 'D:\desa\Exferia\Exferia\Exferia_EntityFramework\Exferia_EntityFramework\EF_BaseDatos.edmx'.
|
||||
// To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
|
||||
// property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
|
||||
// is open in the designer.
|
||||
|
||||
// Si no se ha generado ninguna clase de contexto y de entidad, puede que haya creado un modelo vacío pero
|
||||
// no haya elegido todavía la versión de Entity Framework que se va a usar. Para generar una clase de contexto y clases de entidad
|
||||
// para el modelo, abra el modelo en el diseñador, haga clic con el botón secundario en la superficie del diseñador y
|
||||
// seleccione 'Actualizar modelo desde base de datos...', 'Generar base de datos desde modelo...' o 'Agregar elemento de generación
|
||||
// de código...'.
|
||||
// If no context and entity classes have been generated, it may be because you created an empty model but
|
||||
// have not yet chosen which version of Entity Framework to use. To generate a context class and entity
|
||||
// classes for your model, open the model in the designer, right-click on the designer surface, and
|
||||
// select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation
|
||||
// Item...'.
|
||||
|
|
@ -2006,6 +2006,17 @@
|
|||
<Property Name="opcion" Type="varchar" MaxLength="100" Nullable="false" />
|
||||
<Property Name="nombreCampoCodigo" Type="varchar" MaxLength="50" Nullable="false" />
|
||||
</EntityType>
|
||||
<EntityType Name="GEN_Firmas_Electronicas">
|
||||
<Key>
|
||||
<PropertyRef Name="id" />
|
||||
</Key>
|
||||
<Property Name="id" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
|
||||
<Property Name="codigo" Type="varchar" MaxLength="10" Nullable="false" />
|
||||
<Property Name="descripcion" Type="varchar" MaxLength="50" Nullable="false" />
|
||||
<Property Name="fecha_fin" Type="datetime" />
|
||||
<Property Name="idEmpresa" Type="bigint" Nullable="false"/>
|
||||
<Property Name="text_perm" Type="text"/>
|
||||
</EntityType>
|
||||
<EntityType Name="GEN_Configuracion_Informes">
|
||||
<Key>
|
||||
<PropertyRef Name="id" />
|
||||
|
|
@ -12450,6 +12461,18 @@
|
|||
<PropertyRef Name="idEjercicio" />
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
||||
<End Role="GEN_Empresas" Type="Self.GEN_Empresas" Multiplicity="1" />
|
||||
<End Role="GEN_Firmas_Electronicas" Type="Self.GEN_Firmas_Electronicas" Multiplicity="*" />
|
||||
<ReferentialConstraint>
|
||||
<Principal Role="GEN_Empresas">
|
||||
<PropertyRef Name="id" />
|
||||
</Principal>
|
||||
<Dependent Role="GEN_Firmas_Electronicas">
|
||||
<PropertyRef Name="idEmpresa" />
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_GEN_Control_GEN_PerfilesFuncionalidad">
|
||||
<End Role="GEN_PerfilesFuncionalidad" Type="Self.GEN_PerfilesFuncionalidad" Multiplicity="1" />
|
||||
|
|
@ -26653,6 +26676,7 @@
|
|||
<EntitySet Name="GEN_Almacenes" EntityType="Self.GEN_Almacenes" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="GEN_Configuracion_CampoCodigo" EntityType="Self.GEN_Configuracion_CampoCodigo" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="GEN_Configuracion_Informes" EntityType="Self.GEN_Configuracion_Informes" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="GEN_Firmas_Electronicas" EntityType="Self.GEN_Firmas_Electronicas" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="GEN_Configuracion_SW_Sigma" EntityType="Self.GEN_Configuracion_SW_Sigma" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="GEN_ConfiguracionesEmails" EntityType="Self.GEN_ConfiguracionesEmails" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="GEN_Control" EntityType="Self.GEN_Control" Schema="dbo" store:Type="Tables" />
|
||||
|
|
@ -28478,6 +28502,10 @@
|
|||
<End Role="GEN_EjerciciosActivos_Empresa" EntitySet="GEN_EjerciciosActivos_Empresa" />
|
||||
<End Role="GEN_Configuracion_Informes" EntitySet="GEN_Configuracion_Informes" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_GEN_Firmas_Electronicas_GEN_Empresas" Association="Self.FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
||||
<End Role="GEN_Empresas" EntitySet="GEN_Empresas" />
|
||||
<End Role="GEN_Firmas_Electronicas" EntitySet="GEN_Firmas_Electronicas" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_GEN_Control_GEN_PerfilesFuncionalidad" Association="Self.FK_GEN_Control_GEN_PerfilesFuncionalidad">
|
||||
<End Role="GEN_PerfilesFuncionalidad" EntitySet="GEN_PerfilesFuncionalidad" />
|
||||
<End Role="GEN_Control" EntitySet="GEN_Control" />
|
||||
|
|
@ -37372,6 +37400,7 @@
|
|||
<End Role="EPD_Procedimientos" EntitySet="EPD_Procedimientos" />
|
||||
</AssociationSet>
|
||||
<EntitySet Name="GEN_Configuracion_Informes" EntityType="SigmaERP2017Model.GEN_Configuracion_Informes" />
|
||||
<EntitySet Name="GEN_Firmas_Electronicas" EntityType="SigmaERP2017Model.GEN_Firmas_Electronicas" />
|
||||
<EntitySet Name="MYT_Configuracion_Informes" EntityType="SigmaERP2017Model.MYT_Configuracion_Informes" />
|
||||
<EntitySet Name="CTA_DiarioCabecera" EntityType="SigmaERP2017Model.CTA_DiarioCabecera" />
|
||||
<AssociationSet Name="FK_CTA_DiarioCabecera_CTA_PredefinidosFicheros" Association="SigmaERP2017Model.FK_CTA_DiarioCabecera_CTA_PredefinidosFicheros">
|
||||
|
|
@ -38793,6 +38822,10 @@
|
|||
<AssociationSet Name="FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa" Association="SigmaERP2017Model.FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa">
|
||||
<End Role="GEN_EjerciciosActivos_Empresa" EntitySet="GEN_EjerciciosActivos_Empresa" />
|
||||
<End Role="GEN_Configuracion_Informes" EntitySet="GEN_Configuracion_Informes" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_GEN_Firmas_Electronicas_GEN_Empresas" Association="SigmaERP2017Model.FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
||||
<End Role="GEN_Empresas" EntitySet="GEN_Empresas" />
|
||||
<End Role="GEN_Firmas_Electronicas" EntitySet="GEN_Firmas_Electronicas" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas" Association="SigmaERP2017Model.FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas">
|
||||
<End Role="GEN_Empresas" EntitySet="GEN_Empresas" />
|
||||
|
|
@ -50392,6 +50425,7 @@
|
|||
<Property Name="fechaBorrado" Type="DateTime" Precision="3" />
|
||||
<Property Name="NRBE" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
||||
<Property Name="permiteCobrarAlbaran" Type="Boolean" />
|
||||
<NavigationProperty Name="GEN_Firmas_Electronicas" Relationship="SigmaERP2017Model.FK_GEN_Firmas_Electronicas_GEN_Empresas" FromRole="GEN_Empresas" ToRole="GEN_Firmas_Electronicas" />
|
||||
<NavigationProperty Name="CRM_ClientesPotenciales" Relationship="SigmaERP2017Model.FK_CRM_ClientesPotenciales_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CRM_ClientesPotenciales" />
|
||||
<NavigationProperty Name="CRM_Terminales" Relationship="SigmaERP2017Model.FK_CRM_Terminales_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CRM_Terminales" />
|
||||
<NavigationProperty Name="CTA_AmortizacionesCabecera" Relationship="SigmaERP2017Model.FK_CTA_AmortizacionesCabecera_GEN_Empresas" FromRole="GEN_Empresas" ToRole="CTA_AmortizacionesCabecera" />
|
||||
|
|
@ -57030,6 +57064,18 @@
|
|||
<Property Name="venta_Factura_Informe_TextoFinal" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
||||
<NavigationProperty Name="GEN_EjerciciosActivos_Empresa" Relationship="SigmaERP2017Model.FK_GEN_Configuracion_Informes_GEN_EjerciciosActivos_Empresa" FromRole="GEN_Configuracion_Informes" ToRole="GEN_EjerciciosActivos_Empresa" />
|
||||
</EntityType>
|
||||
<EntityType Name="GEN_Firmas_Electronicas">
|
||||
<Key>
|
||||
<PropertyRef Name="id" />
|
||||
</Key>
|
||||
<Property Name="id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||||
<Property Name="codigo" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="false" />
|
||||
<Property Name="descripcion" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
||||
<Property Name="idEmpresa" Type="Int64" Nullable="false" />
|
||||
<Property Name="fecha_fin" Type="DateTime" Precision="3" />
|
||||
<Property Name="text_perm" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
||||
<NavigationProperty Name="GEN_Empresas" Relationship="SigmaERP2017Model.FK_GEN_Firmas_Electronicas_GEN_Empresas" FromRole="GEN_Firmas_Electronicas" ToRole="GEN_Empresas" />
|
||||
</EntityType>
|
||||
<EntityType Name="MYT_Configuracion_Informes">
|
||||
<Key>
|
||||
<PropertyRef Name="id" />
|
||||
|
|
@ -62995,6 +63041,18 @@
|
|||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_GEN_Firmas_Electronicas_GEN_Empresas">
|
||||
<End Type="SigmaERP2017Model.GEN_Empresas" Role="GEN_Empresas" Multiplicity="1" />
|
||||
<End Type="SigmaERP2017Model.GEN_Firmas_Electronicas" Role="GEN_Firmas_Electronicas" Multiplicity="*" />
|
||||
<ReferentialConstraint>
|
||||
<Principal Role="GEN_Empresas">
|
||||
<PropertyRef Name="id" />
|
||||
</Principal>
|
||||
<Dependent Role="GEN_Firmas_Electronicas">
|
||||
<PropertyRef Name="idEmpresa" />
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_GEN_EjerciciosActivos_Empresa_GEN_Empresas">
|
||||
<End Type="SigmaERP2017Model.GEN_Empresas" Role="GEN_Empresas" Multiplicity="1" />
|
||||
<End Type="SigmaERP2017Model.GEN_EjerciciosActivos_Empresa" Role="GEN_EjerciciosActivos_Empresa" Multiplicity="*" />
|
||||
|
|
@ -74646,6 +74704,18 @@
|
|||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="GEN_Firmas_Electronicas">
|
||||
<EntityTypeMapping TypeName="SigmaERP2017Model.GEN_Firmas_Electronicas">
|
||||
<MappingFragment StoreEntitySet="GEN_Firmas_Electronicas">
|
||||
<ScalarProperty Name="text_perm" ColumnName="text_perm" />
|
||||
<ScalarProperty Name="idEmpresa" ColumnName="idEmpresa" />
|
||||
<ScalarProperty Name="fecha_fin" ColumnName="fecha_fin" />
|
||||
<ScalarProperty Name="descripcion" ColumnName="descripcion" />
|
||||
<ScalarProperty Name="codigo" ColumnName="codigo" />
|
||||
<ScalarProperty Name="id" ColumnName="id" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="MYT_Configuracion_Informes">
|
||||
<EntityTypeMapping TypeName="SigmaERP2017Model.MYT_Configuracion_Informes">
|
||||
<MappingFragment StoreEntitySet="MYT_Configuracion_Informes">
|
||||
|
|
|
|||
Loading…
Reference in New Issue