Пример #1
0
        /// <summary>
        /// Create a new ProjectSourceType object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="assemblyName">Initial value of the AssemblyName property.</param>
        /// <param name="fullClassName">Initial value of the FullClassName property.</param>
        /// <param name="interval">Initial value of the Interval property.</param>
        /// <param name="nextRun">Initial value of the NextRun property.</param>
        /// <param name="enabled">Initial value of the Enabled property.</param>
        /// <param name="createdBy">Initial value of the CreatedBy property.</param>
        /// <param name="createdOn">Initial value of the CreatedOn property.</param>
        public static ProjectSourceType CreateProjectSourceType(global::System.Int32 id, global::System.String name, global::System.String assemblyName, global::System.String fullClassName, global::System.Int32 interval, global::System.DateTime nextRun, global::System.Boolean enabled, global::System.String createdBy, global::System.DateTime createdOn)
        {
            ProjectSourceType projectSourceType = new ProjectSourceType();

            projectSourceType.Id            = id;
            projectSourceType.Name          = name;
            projectSourceType.AssemblyName  = assemblyName;
            projectSourceType.FullClassName = fullClassName;
            projectSourceType.Interval      = interval;
            projectSourceType.NextRun       = nextRun;
            projectSourceType.Enabled       = enabled;
            projectSourceType.CreatedBy     = createdBy;
            projectSourceType.CreatedOn     = createdOn;
            return(projectSourceType);
        }
 /// <summary>
 /// Create a new ProjectSourceType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="assemblyName">Initial value of the AssemblyName property.</param>
 /// <param name="fullClassName">Initial value of the FullClassName property.</param>
 /// <param name="interval">Initial value of the Interval property.</param>
 /// <param name="nextRun">Initial value of the NextRun property.</param>
 /// <param name="enabled">Initial value of the Enabled property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="createdOn">Initial value of the CreatedOn property.</param>
 public static ProjectSourceType CreateProjectSourceType(global::System.Int32 id, global::System.String name, global::System.String assemblyName, global::System.String fullClassName, global::System.Int32 interval, global::System.DateTime nextRun, global::System.Boolean enabled, global::System.String createdBy, global::System.DateTime createdOn)
 {
     ProjectSourceType projectSourceType = new ProjectSourceType();
     projectSourceType.Id = id;
     projectSourceType.Name = name;
     projectSourceType.AssemblyName = assemblyName;
     projectSourceType.FullClassName = fullClassName;
     projectSourceType.Interval = interval;
     projectSourceType.NextRun = nextRun;
     projectSourceType.Enabled = enabled;
     projectSourceType.CreatedBy = createdBy;
     projectSourceType.CreatedOn = createdOn;
     return projectSourceType;
 }
Пример #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectSourceTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectSourceTypes(ProjectSourceType projectSourceType)
 {
     base.AddObject("ProjectSourceTypes", projectSourceType);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectSourceTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectSourceTypes(ProjectSourceType projectSourceType)
 {
     base.AddObject("ProjectSourceTypes", projectSourceType);
 }