/* TODO: revisit all copy functions
 override public 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.
     ProviderConversationScore aConversationScore = (ProviderConversationScore)untyped;
     _entityConversationScore.Score = aConversationScore._entityConversationScore.Score;
     _entityConversationScore.ConversationId = aConversationScore._entityConversationScore.ConversationId;
     _entityObject = _entityConversationScore;
     return true;
 }
 */
 //=========================================================
 // PRIVATE FUNCTIONS
 //=========================================================
 protected ProviderConversationScore(ConversationScore aConversationScore)
     : base(aConversationScore)
 {
 }
 protected override void EntityClear()
 {
     _entityConversationScore = new ConversationScore();
     _entityConversationScore.Id = -1;
     _entityConversationScore.SystemCreateDate = new DateTime();
     _entityConversationScore.SystemEditDate = new DateTime();
     _entityConversationScore.ConversationId = -1;
     _entityConversationScore.Score = 0;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ConversationScores EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConversationScores(ConversationScore conversationScore)
 {
     base.AddObject("ConversationScores", conversationScore);
 }
 protected static ProviderConversationScore _EntityToProvider(ConversationScore ConversationScoreEntity)
 {
     return new ProviderConversationScore(ConversationScoreEntity);
 }
 /// <summary>
 /// Create a new ConversationScore object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="systemEditDate">Initial value of the SystemEditDate property.</param>
 /// <param name="systemCreateDate">Initial value of the SystemCreateDate property.</param>
 /// <param name="conversationId">Initial value of the ConversationId property.</param>
 /// <param name="score">Initial value of the Score property.</param>
 public static ConversationScore CreateConversationScore(global::System.Int64 id, global::System.DateTime systemEditDate, global::System.DateTime systemCreateDate, global::System.Int64 conversationId, global::System.Double score)
 {
     ConversationScore conversationScore = new ConversationScore();
     conversationScore.Id = id;
     conversationScore.SystemEditDate = systemEditDate;
     conversationScore.SystemCreateDate = systemCreateDate;
     conversationScore.ConversationId = conversationId;
     conversationScore.Score = score;
     return conversationScore;
 }