1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
/// <summary>
/// Aucune documentation sur les métadonnées n'est disponible.
/// </summary>
[EdmEntityTypeAttribute(NamespaceName="MYDB_001Model", Name="Affaire")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
public partial class Affaire : EntityObject
{
#region Méthode de fabrique
/// <summary>
/// Créez un nouvel objet Affaire.
/// </summary>
/// <param name="id">Valeur initiale de la propriété ID.</param>
/// <param name="numero">Valeur initiale de la propriété Numero.</param>
/// <param name="libelle">Valeur initiale de la propriété Libelle.</param>
/// <param name="synchroniser">Valeur initiale de la propriété Synchroniser.</param>
/// <param name="iDAffectationSociete">Valeur initiale de la propriété IDAffectationSociete.</param>
public static Affaire CreateAffaire(global::System.Int32 id, global::System.String numero)
{
Affaire affaire = new Affaire();
affaire.ID = id;
affaire.Numero = numero;
return affaire;
}
#endregion
#region Propriétés primitives
/// <summary>
/// Aucune documentation sur les métadonnées n'est disponible.
/// </summary>
[EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
[DataMemberAttribute()]
public global::System.Int32 ID
{
get
{
return _ID;
}
set
{
if (_ID != value)
{
OnIDChanging(value);
ReportPropertyChanging("ID");
_ID = StructuralObject.SetValidValue(value);
ReportPropertyChanged("ID");
OnIDChanged();
}
}
}
private global::System.Int32 _ID;
partial void OnIDChanging(global::System.Int32 value);
partial void OnIDChanged();
/// <summary>
/// Aucune documentation sur les métadonnées n'est disponible.
/// </summary>
[EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
[DataMemberAttribute()]
public global::System.String Numero
{
get
{
return _Numero;
}
set
{
OnNumeroChanging(value);
ReportPropertyChanging("Numero");
_Numero = StructuralObject.SetValidValue(value, false);
ReportPropertyChanged("Numero");
OnNumeroChanged();
}
}
private global::System.String _Numero;
partial void OnNumeroChanging(global::System.String value);
partial void OnNumeroChanged();
#endregion
#region Propriétés de navigation
/// <summary>
/// Aucune documentation sur les métadonnées n'est disponible.
/// </summary>
[XmlIgnoreAttribute()]
[SoapIgnoreAttribute()]
[DataMemberAttribute()]
[EdmRelationshipNavigationPropertyAttribute("MYDB_001Model", "AffaireCommandeFournisseurLigne", "CommandeFournisseurLigne")]
public EntityCollection<CommandeFournisseurLigne> CommandeFournisseurLignes
{
get
{
return ((IEntityWithRelationships)this).RelationshipManager.GetRelatedCollection<CommandeFournisseurLigne>("MYDB_001Model.AffaireCommandeFournisseurLigne", "CommandeFournisseurLigne");
}
set
{
if ((value != null))
{
((IEntityWithRelationships)this).RelationshipManager.InitializeRelatedCollection<CommandeFournisseurLigne>("MYDB_001Model.AffaireCommandeFournisseurLigne", "CommandeFournisseurLigne", value);
}
}
}
#endregion
} |
Partager