/// <summary> /// Deprecated Method for adding a new object to the ProfileType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfileType(ProfileType profileType) { base.AddObject("ProfileType", profileType); }
/// <summary> /// Create a new ProfileType object. /// </summary> /// <param name="profileTypeID">Initial value of the ProfileTypeID property.</param> /// <param name="profileType1">Initial value of the ProfileType1 property.</param> public static ProfileType CreateProfileType(global::System.Int32 profileTypeID, global::System.String profileType1) { ProfileType profileType = new ProfileType(); profileType.ProfileTypeID = profileTypeID; profileType.ProfileType1 = profileType1; return profileType; }