コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Organizations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrganizations(Organization organization)
 {
     base.AddObject("Organizations", organization);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Organization object.
 /// </summary>
 /// <param name="organizationCode">Initial value of the OrganizationCode property.</param>
 /// <param name="organizationName">Initial value of the OrganizationName property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="logDate">Initial value of the LogDate property.</param>
 public static Organization CreateOrganization(global::System.String organizationCode, global::System.String organizationName, global::System.String userId, global::System.DateTime logDate)
 {
     Organization organization = new Organization();
     organization.OrganizationCode = organizationCode;
     organization.OrganizationName = organizationName;
     organization.UserId = userId;
     organization.LogDate = logDate;
     return organization;
 }