/// <summary> /// Deprecated Method for adding a new object to the SourceTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSourceTypes(SourceType sourceType) { base.AddObject("SourceTypes", sourceType); }
/// <summary> /// Create a new SourceType object. /// </summary> /// <param name="sourceTypeId">Initial value of the SourceTypeId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static SourceType CreateSourceType(global::System.Int32 sourceTypeId, global::System.String name, global::System.DateTime createdDate) { SourceType sourceType = new SourceType(); sourceType.SourceTypeId = sourceTypeId; sourceType.Name = name; sourceType.CreatedDate = createdDate; return sourceType; }