/*
 public override bool Copy(Provider untyped)
 {
     //Never copy over the id, otherwise we would be creating
     //a pseudo-reference copy, which we don't want.
     //Do not copy over the system times and only the business logic
     //times since the system times are specific to a given instance.
     ProviderAlternateMemberId anAlternateMemberId = (ProviderAlternateMemberId)untyped;
     _entityAlternateArticleId.MemberId = anAlternateMemberId._entityAlternateArticleId.MemberId;
     _entityAlternateArticleId.AlternateType = anAlternateMemberId._entityAlternateArticleId.AlternateType;
     _entityAlternateArticleId.AlternateId = anAlternateMemberId._entityAlternateArticleId.AlternateId;
     _entityAlternateArticleId.IsValidated = anAlternateMemberId._entityAlternateArticleId.IsValidated;
     _entityAlternateArticleId.IsNonce = anAlternateMemberId._entityAlternateArticleId.IsNonce;
     _entityAlternateArticleId.ExpiryDate = anAlternateMemberId._entityAlternateArticleId.ExpiryDate;
     _entityAlternateArticleId.EditDate = anAlternateMemberId._entityAlternateArticleId.EditDate;
     _entityAlternateArticleId.CreateDate = anAlternateMemberId._entityAlternateArticleId.CreateDate;
     _entityAlternateArticleId.UsePassword = anAlternateMemberId._entityAlternateArticleId.UsePassword;
     _entityAlternateArticleId.IsHidden = anAlternateMemberId._entityAlternateArticleId.IsHidden;
     _entityObject = _entityAlternateArticleId;
     return true;
 }
 */
 //=========================================================
 // PRIVATE FUNCTIONS
 //=========================================================
 protected ProviderAlternateArticleId(AlternateArticleId anAltType)
     : base(anAltType)
 {
 }
 /// <summary>
 /// Create a new AlternateArticleId object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="systemCreateDate">Initial value of the SystemCreateDate property.</param>
 /// <param name="systemEditDate">Initial value of the SystemEditDate property.</param>
 /// <param name="articleId">Initial value of the ArticleId property.</param>
 /// <param name="memberId">Initial value of the MemberId property.</param>
 /// <param name="alternateId">Initial value of the AlternateId property.</param>
 public static AlternateArticleId CreateAlternateArticleId(global::System.Int64 id, global::System.DateTime systemCreateDate, global::System.DateTime systemEditDate, global::System.Int64 articleId, global::System.Int64 memberId, global::System.String alternateId)
 {
     AlternateArticleId alternateArticleId = new AlternateArticleId();
     alternateArticleId.Id = id;
     alternateArticleId.SystemCreateDate = systemCreateDate;
     alternateArticleId.SystemEditDate = systemEditDate;
     alternateArticleId.ArticleId = articleId;
     alternateArticleId.MemberId = memberId;
     alternateArticleId.AlternateId = alternateId;
     return alternateArticleId;
 }
 protected override void EntityClear()
 {
     _entityAlternateArticleId = new AlternateArticleId();
     _entityAlternateArticleId.Id = -1;
     _entityAlternateArticleId.SystemCreateDate = new DateTime();
     _entityAlternateArticleId.SystemEditDate = new DateTime();
     _entityAlternateArticleId.MemberId = -1;
     _entityAlternateArticleId.ArticleId = -1;
     _entityAlternateArticleId.AlternateId = string.Empty;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the AlternateArticleIds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAlternateArticleIds(AlternateArticleId alternateArticleId)
 {
     base.AddObject("AlternateArticleIds", alternateArticleId);
 }