Beispiel #1
0
        /// <summary>
        /// Create a new ProjectSource object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="projectSourceTypeId">Initial value of the ProjectSourceTypeId property.</param>
        /// <param name="createdBy">Initial value of the CreatedBy property.</param>
        /// <param name="createdOn">Initial value of the CreatedOn property.</param>
        public static ProjectSource CreateProjectSource(global::System.Int32 id, global::System.Int32 projectSourceTypeId, global::System.String createdBy, global::System.DateTime createdOn)
        {
            ProjectSource projectSource = new ProjectSource();

            projectSource.Id = id;
            projectSource.ProjectSourceTypeId = projectSourceTypeId;
            projectSource.CreatedBy           = createdBy;
            projectSource.CreatedOn           = createdOn;
            return(projectSource);
        }
 /// <summary>
 /// Create a new ProjectSource object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="projectSourceTypeId">Initial value of the ProjectSourceTypeId property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 public static ProjectSource CreateProjectSource(global::System.Int32 id, global::System.Int32 projectSourceTypeId, global::System.String createdBy, global::System.DateTime createdOn)
 {
     ProjectSource projectSource = new ProjectSource();
     projectSource.Id = id;
     projectSource.ProjectSourceTypeId = projectSourceTypeId;
     projectSource.CreatedBy = createdBy;
     projectSource.CreatedOn = createdOn;
     return projectSource;
 }
Beispiel #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectSources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectSources(ProjectSource projectSource)
 {
     base.AddObject("ProjectSources", projectSource);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectSources EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectSources(ProjectSource projectSource)
 {
     base.AddObject("ProjectSources", projectSource);
 }