Esempio n. 1
0
        /// <summary>
        /// Create a new PropertyMaster object.
        /// </summary>
        /// <param name="propertyID">Initial value of the PropertyID property.</param>
        /// <param name="propertyName">Initial value of the PropertyName property.</param>
        /// <param name="propertyDescription">Initial value of the PropertyDescription property.</param>
        /// <param name="lastModifiedUserID">Initial value of the LastModifiedUserID property.</param>
        /// <param name="lastModfiedDateTime">Initial value of the LastModfiedDateTime property.</param>
        public static PropertyMaster CreatePropertyMaster(global::System.Int32 propertyID, global::System.String propertyName, global::System.String propertyDescription, global::System.Int32 lastModifiedUserID, global::System.DateTime lastModfiedDateTime)
        {
            PropertyMaster propertyMaster = new PropertyMaster();

            propertyMaster.PropertyID          = propertyID;
            propertyMaster.PropertyName        = propertyName;
            propertyMaster.PropertyDescription = propertyDescription;
            propertyMaster.LastModifiedUserID  = lastModifiedUserID;
            propertyMaster.LastModfiedDateTime = lastModfiedDateTime;
            return(propertyMaster);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PropertyMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPropertyMasters(PropertyMaster propertyMaster)
 {
     base.AddObject("PropertyMasters", propertyMaster);
 }