示例#1
0
 /// <summary>
 /// Create a new RoleLoc object.
 /// </summary>
 /// <param name="roleID">Initial value of the RoleID property.</param>
 /// <param name="languageID">Initial value of the LanguageID property.</param>
 /// <param name="roleName">Initial value of the RoleName property.</param>
 public static RoleLoc CreateRoleLoc(global::System.Decimal roleID, global::System.String languageID, global::System.String roleName)
 {
     RoleLoc roleLoc = new RoleLoc();
     roleLoc.RoleID = roleID;
     roleLoc.LanguageID = languageID;
     roleLoc.RoleName = roleName;
     return roleLoc;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RoleLocs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRoleLocs(RoleLoc roleLoc)
 {
     base.AddObject("RoleLocs", roleLoc);
 }