This commit is contained in:
Thoscellen
2020-05-16 14:48:37 +02:00
commit bf97688639
231 changed files with 195771 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{A6A843A1-47BE-4250-A364-0276552EE4BA}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ApplicationModel</RootNamespace>
<AssemblyName>ApplicationModel</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>SAK</SccProjectName>
<SccLocalPath>SAK</SccLocalPath>
<SccAuxPath>SAK</SccAuxPath>
<SccProvider>SAK</SccProvider>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Class1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,10 @@
""
{
"FILE_VERSION" = "9237"
"ENLISTMENT_CHOICE" = "NEVER"
"PROJECT_FILE_RELATIVE_PATH" = ""
"NUMBER_OF_EXCLUDED_FILES" = "0"
"ORIGINAL_PROJECT_FILE_PATH" = ""
"NUMBER_OF_NESTED_PROJECTS" = "0"
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ApplicationModel
{
public class Class1
{
}
}

10
ApplicationModel/DataModel.Designer.cs generated Normal file
View File

@@ -0,0 +1,10 @@
// La génération de code T4 est activée pour le modèle 'C:\Users\Simon\Projets\Visual Studio\Benevolaide\Benevolaide\DataModel.edmx'.
// Pour activer la génération de code héritée, définissez la valeur de la propriété
// du concepteur 'Stratégie de génération de code' sur 'ObjectContext hérité'. Cette propriété est disponible dans la fenêtre Propriétés lorsque le modèle
// est ouvert dans le concepteur.
// Si aucun contexte et classe d'entité n'a été généré, c'est peut-être parce que vous avez créé un modèle vide, mais
// que vous n'avez pas encore choisi la version d'Entity Framework à utiliser. Pour générer une classe de contexte et des classes
// d'entité pour le modèle, ouvrez le modèle dans le concepteur, cliquez avec le bouton droit sur l'aire de conception, puis
// sélectionnez 'Mettre à jour le modèle à partir de la base de données...', 'Générer une base de données à partir du modèle...' ou 'Ajouter un élément de génération
// de code...'.

View File

@@ -0,0 +1,158 @@
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl" Namespace="DataModel.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2005">
<EntityContainer Name="DataModelTargetContainer" >
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm" xmlns:cg="http://schemas.microsoft.com/ado/2006/04/codegeneration" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" Namespace="DataModel" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" annotation:UseStrongSpatialTypes="false">
<EntityContainer Name="DataModelContainer" annotation:LazyLoadingEnabled="true">
<EntitySet Name="PersonneSet" EntityType="DataModel.Personne" />
<EntitySet Name="FicheSuivitSet" EntityType="DataModel.FicheSuivit" />
<AssociationSet Name="FicheSuivitBeneficiaire" Association="DataModel.FicheSuivitBeneficiaire">
<End Role="FicheSuivit" EntitySet="FicheSuivitSet" />
<End Role="Beneficiaire" EntitySet="PersonneSet" />
</AssociationSet>
<EntitySet Name="CourrielSet" EntityType="DataModel.Courriel" />
<AssociationSet Name="CourrielPersonne" Association="DataModel.CourrielPersonne">
<End Role="Courriel" EntitySet="CourrielSet" />
<End Role="Personne" EntitySet="PersonneSet" />
</AssociationSet>
<EntitySet Name="TelephoneSet" EntityType="DataModel.Telephone" />
<AssociationSet Name="PersonneTelephone" Association="DataModel.PersonneTelephone">
<End Role="Personne" EntitySet="PersonneSet" />
<End Role="Telephone" EntitySet="TelephoneSet" />
</AssociationSet>
<EntitySet Name="PermisSet" EntityType="DataModel.Permis" />
<AssociationSet Name="PersonnePermis" Association="DataModel.PersonnePermis">
<End Role="Personne" EntitySet="PersonneSet" />
<End Role="Permis" EntitySet="PermisSet" />
</AssociationSet>
<EntitySet Name="EtiquetteSet" EntityType="DataModel.Etiquette" />
<AssociationSet Name="FicheSuivitEtiquette" Association="DataModel.FicheSuivitEtiquette">
<End Role="FicheSuivit" EntitySet="FicheSuivitSet" />
<End Role="Etiquette" EntitySet="EtiquetteSet" />
</AssociationSet>
</EntityContainer>
<EntityType Name="Personne">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Prenom" Type="String" Nullable="false" />
<Property Name="Nom" Type="String" Nullable="false" />
<Property Name="Genre" Type="Boolean" Nullable="false" />
<Property Name="DateNaissance" Type="DateTime" Nullable="false" />
<Property Name="EstHandicape" Type="Boolean" Nullable="false" />
<Property Name="DateInscription" Type="DateTime" Nullable="false" />
<NavigationProperty Name="Courriel" Relationship="DataModel.CourrielPersonne" FromRole="Personne" ToRole="Courriel" />
<NavigationProperty Name="Telephone" Relationship="DataModel.PersonneTelephone" FromRole="Personne" ToRole="Telephone" />
<NavigationProperty Name="Permis" Relationship="DataModel.PersonnePermis" FromRole="Personne" ToRole="Permis" />
</EntityType>
<EntityType Name="Utilisateur" BaseType="DataModel.Personne">
<Property Name="Identifiant" Type="String" Nullable="false" />
<Property Name="MotDePasse" Type="String" Nullable="false" />
<Property Name="Privilege" Type="Int16" Nullable="false" />
<Property Name="EstActif" Type="Boolean" Nullable="false" />
</EntityType>
<EntityType Name="Beneficiaire" BaseType="DataModel.Personne">
<NavigationProperty Name="FicheSuivit" Relationship="DataModel.FicheSuivitBeneficiaire" FromRole="Beneficiaire" ToRole="FicheSuivit" />
</EntityType>
<EntityType Name="FicheSuivit">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="DateCreation" Type="DateTime" Nullable="false" />
<Property Name="Commentaire" Type="String" Nullable="false" />
<NavigationProperty Name="Beneficiaire" Relationship="DataModel.FicheSuivitBeneficiaire" FromRole="FicheSuivit" ToRole="Beneficiaire" />
<NavigationProperty Name="Etiquette" Relationship="DataModel.FicheSuivitEtiquette" FromRole="FicheSuivit" ToRole="Etiquette" />
</EntityType>
<Association Name="FicheSuivitBeneficiaire">
<End Type="DataModel.FicheSuivit" Role="FicheSuivit" Multiplicity="*" />
<End Type="DataModel.Beneficiaire" Role="Beneficiaire" Multiplicity="1" />
</Association>
<EntityType Name="Courriel">
<Key>
<PropertyRef Name="Adresse" />
</Key>
<Property Name="Adresse" Type="String" Nullable="false" />
<Property Name="MotDePasse" Type="String" Nullable="false" />
<NavigationProperty Name="Personne" Relationship="DataModel.CourrielPersonne" FromRole="Courriel" ToRole="Personne" />
</EntityType>
<Association Name="CourrielPersonne">
<End Type="DataModel.Courriel" Role="Courriel" Multiplicity="*" />
<End Type="DataModel.Personne" Role="Personne" Multiplicity="1" />
</Association>
<EntityType Name="Telephone">
<Key>
<PropertyRef Name="Numero" />
</Key>
<Property Name="Numero" Type="String" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<NavigationProperty Name="Personne" Relationship="DataModel.PersonneTelephone" FromRole="Telephone" ToRole="Personne" />
</EntityType>
<Association Name="PersonneTelephone">
<End Type="DataModel.Personne" Role="Personne" Multiplicity="1" />
<End Type="DataModel.Telephone" Role="Telephone" Multiplicity="*" />
</Association>
<EntityType Name="Permis">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Nom" Type="String" Nullable="false" />
<NavigationProperty Name="Personne" Relationship="DataModel.PersonnePermis" FromRole="Permis" ToRole="Personne" />
</EntityType>
<Association Name="PersonnePermis">
<End Type="DataModel.Personne" Role="Personne" Multiplicity="*" />
<End Type="DataModel.Permis" Role="Permis" Multiplicity="*" />
</Association>
<EntityType Name="Etiquette">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Nom" Type="String" Nullable="false" />
<NavigationProperty Name="FicheSuivit" Relationship="DataModel.FicheSuivitEtiquette" FromRole="Etiquette" ToRole="FicheSuivit" />
</EntityType>
<Association Name="FicheSuivitEtiquette">
<End Type="DataModel.FicheSuivit" Role="FicheSuivit" Multiplicity="*" />
<End Type="DataModel.Etiquette" Role="Etiquette" Multiplicity="*" />
</Association>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs" Space="C-S">
<Alias Key="Model" Value="DataModel" />
<Alias Key="Target" Value="DataModel.Store" />
<EntityContainerMapping CdmEntityContainer="DataModelContainer" StorageEntityContainer="DataModelTargetContainer">
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>
</edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<edmx:Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
<edmx:Connection>
<DesignerInfoPropertySet>
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
</DesignerInfoPropertySet>
</edmx:Connection>
<edmx:Options>
<DesignerInfoPropertySet>
<DesignerProperty Name="ValidateOnBuild" Value="true" />
<DesignerProperty Name="EnablePluralization" Value="False" />
<DesignerProperty Name="CodeGenerationStrategy" Value="Aucun" />
</DesignerInfoPropertySet>
</edmx:Options>
<!-- Diagram content (shape and connector positions) -->
<edmx:Diagrams>
</edmx:Diagrams>
</edmx:Designer>
</edmx:Edmx>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<edmx:Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- Diagram content (shape and connector positions) -->
<edmx:Diagrams>
<Diagram DiagramId="6ffa936636424ac18699129a612c5066" Name="Diagram1" >
<EntityTypeShape EntityType="DataModel.Personne" Width="1.5" PointX="3.25" PointY="1.25" />
<EntityTypeShape EntityType="DataModel.Utilisateur" Width="1.5" PointX="2.375" PointY="4.75" />
<InheritanceConnector EntityType="DataModel.Utilisateur" />
<EntityTypeShape EntityType="DataModel.Beneficiaire" Width="1.5" PointX="4.125" PointY="4.75" />
<EntityTypeShape EntityType="DataModel.FicheSuivit" Width="1.5" PointX="4.125" PointY="6.625" />
<InheritanceConnector EntityType="DataModel.Beneficiaire" />
<AssociationConnector Association="DataModel.FicheSuivitBeneficiaire" />
<EntityTypeShape EntityType="DataModel.Courriel" Width="1.5" PointX="0.5" PointY="0.5" />
<AssociationConnector Association="DataModel.CourrielPersonne" />
<EntityTypeShape EntityType="DataModel.Telephone" Width="1.5" PointX="0.5" PointY="2.25" />
<AssociationConnector Association="DataModel.PersonneTelephone" />
<EntityTypeShape EntityType="DataModel.Permis" Width="1.5" PointX="0.5" PointY="3.75" />
<AssociationConnector Association="DataModel.PersonnePermis" ManuallyRouted="false" >
</AssociationConnector>
<EntityTypeShape EntityType="DataModel.Etiquette" Width="1.5" PointX="6.25" PointY="7" />
<AssociationConnector Association="DataModel.FicheSuivitEtiquette" />
</Diagram>
</edmx:Diagrams>
</edmx:Designer>
</edmx:Edmx>

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("ApplicationModel")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ApplicationModel")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
[assembly: ComVisible(false)]
// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
[assembly: Guid("a6a843a1-47be-4250-a364-0276552ee4ba")]
// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
//
// Version principale
// Version secondaire
// Numéro de build
// Révision
//
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]