/// <summary> /// Create a new Descriptor object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="created">Initial value of the Created property.</param> public static Descriptor CreateDescriptor(global::System.Int32 id, global::System.String code, global::System.DateTime created) { Descriptor descriptor = new Descriptor(); descriptor.Id = id; descriptor.Code = code; descriptor.Created = created; return descriptor; }
/// <summary> /// Deprecated Method for adding a new object to the Descriptors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDescriptors(Descriptor descriptor) { base.AddObject("Descriptors", descriptor); }