Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CommunityProfileApproval EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCommunityProfileApproval(CommunityProfileApproval communityProfileApproval)
 {
     base.AddObject("CommunityProfileApproval", communityProfileApproval);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new CommunityProfileApproval object.
 /// </summary>
 /// <param name="cpa_id">Initial value of the cpa_id property.</param>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="cpa_approvedby">Initial value of the cpa_approvedby property.</param>
 /// <param name="cpa_approved">Initial value of the cpa_approved property.</param>
 /// <param name="cpa_timestamp">Initial value of the cpa_timestamp property.</param>
 public static CommunityProfileApproval CreateCommunityProfileApproval(global::System.Int32 cpa_id, global::System.String u_username, global::System.String cpa_approvedby, global::System.Boolean cpa_approved, global::System.DateTime cpa_timestamp)
 {
     CommunityProfileApproval communityProfileApproval = new CommunityProfileApproval();
     communityProfileApproval.cpa_id = cpa_id;
     communityProfileApproval.u_username = u_username;
     communityProfileApproval.cpa_approvedby = cpa_approvedby;
     communityProfileApproval.cpa_approved = cpa_approved;
     communityProfileApproval.cpa_timestamp = cpa_timestamp;
     return communityProfileApproval;
 }