Ejemplo n.º 1
0
        /// <summary>
        /// Create a new SCEntity object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="description">Initial value of the Description property.</param>
        /// <param name="template">Initial value of the Template property.</param>
        /// <param name="quota">Initial value of the Quota property.</param>
        /// <param name="order">Initial value of the Order property.</param>
        /// <param name="behoerdenId">Initial value of the BehoerdenId property.</param>
        /// <param name="sCOwner">Initial value of the SCOwner property.</param>
        public static SCEntity CreateSCEntity(global::System.Guid id, global::System.String name, global::System.String description, global::System.String template, global::System.String quota, global::System.Guid order, global::System.Int32 behoerdenId, global::System.String sCOwner)
        {
            SCEntity sCEntity = new SCEntity();

            sCEntity.Id          = id;
            sCEntity.Name        = name;
            sCEntity.Description = description;
            sCEntity.Template    = template;
            sCEntity.Quota       = quota;
            sCEntity.Order       = order;
            sCEntity.BehoerdenId = behoerdenId;
            sCEntity.SCOwner     = sCOwner;
            return(sCEntity);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SCEntities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSCEntities(SCEntity sCEntity)
 {
     base.AddObject("SCEntities", sCEntity);
 }