/// <summary> /// Deprecated Method for adding a new object to the LanguageDescriptors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLanguageDescriptors(LanguageDescriptor languageDescriptor) { base.AddObject("LanguageDescriptors", languageDescriptor); }
/// <summary> /// Create a new LanguageDescriptor object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="descriptorId">Initial value of the DescriptorId property.</param> /// <param name="languageId">Initial value of the LanguageId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="created">Initial value of the Created property.</param> public static LanguageDescriptor CreateLanguageDescriptor(global::System.Int32 id, global::System.Int32 descriptorId, global::System.Int32 languageId, global::System.String name, global::System.DateTime created) { LanguageDescriptor languageDescriptor = new LanguageDescriptor(); languageDescriptor.Id = id; languageDescriptor.DescriptorId = descriptorId; languageDescriptor.LanguageId = languageId; languageDescriptor.Name = name; languageDescriptor.Created = created; return languageDescriptor; }