예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the churchmemberroles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTochurchmemberroles(churchmemberrole churchmemberrole)
 {
     base.AddObject("churchmemberroles", churchmemberrole);
 }
예제 #2
0
 /// <summary>
 /// Create a new churchmemberrole object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="memberId">Initial value of the memberId property.</param>
 /// <param name="churchRoleId">Initial value of the ChurchRoleId property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static churchmemberrole Createchurchmemberrole(global::System.Int32 id, global::System.Int32 memberId, global::System.Int32 churchRoleId, global::System.Boolean isActive)
 {
     churchmemberrole churchmemberrole = new churchmemberrole();
     churchmemberrole.Id = id;
     churchmemberrole.memberId = memberId;
     churchmemberrole.ChurchRoleId = churchRoleId;
     churchmemberrole.IsActive = isActive;
     return churchmemberrole;
 }