コード例 #1
0
 internal void SetBO(Indico.DAL.ItemAttributesDetailsView obj)
 {
     // set the Indico.BusinessObjects.ItemAttributesDetailsViewBO properties
     this.Attribute   = obj.Attribute;
     this.Name        = obj.Name;
     this.Description = obj.Description;
     this.ItemID      = obj.ItemID;
     this.Item        = obj.Item;
     this.IsItemAttributesSubWherethisFabricCode = obj.IsItemAttributesSubWherethisFabricCode;
 }
コード例 #2
0
 /// <summary>
 /// Creates an instance of the ItemAttributesDetailsViewBO class using the supplied Indico.DAL.ItemAttributesDetailsView.
 /// </summary>
 /// <param name="obj">a Indico.DAL.ItemAttributesDetailsView whose properties will be used to initialise the ItemAttributesDetailsViewBO</param>
 internal ItemAttributesDetailsViewBO(Indico.DAL.ItemAttributesDetailsView obj)
 {
     // set the properties from the Indico.DAL.ItemAttributesDetailsView
     this.Attribute   = obj.Attribute;
     this.Name        = obj.Name;
     this.Description = obj.Description;
     this.ItemID      = obj.ItemID;
     this.Item        = obj.Item;
     this.IsItemAttributesSubWherethisFabricCode = obj.IsItemAttributesSubWherethisFabricCode;
 }
コード例 #3
0
 internal void SetDAL(Indico.DAL.ItemAttributesDetailsView obj, IndicoEntities context)
 {
     // set the Indico.DAL.ItemAttributesDetailsView properties
     obj.Attribute   = Convert.ToInt32(Attribute);
     obj.Name        = Name;
     obj.Description = Description;
     obj.ItemID      = Convert.ToInt32(ItemID);
     obj.Item        = Item;
     obj.IsItemAttributesSubWherethisFabricCode = Convert.ToBoolean(IsItemAttributesSubWherethisFabricCode);
 }