/// <summary> /// Deprecated Method for adding a new object to the ProfileTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProfileTypes(ProfileType profileType) { base.AddObject("ProfileTypes", 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; }