internal void SetBO(Indico.BusinessObjects.VisualLayoutCoordinatorsBO obj)
 {
     // set this Indico.BusinessObjects.VisualLayoutCoordinatorsBO properties
     this.ID         = obj.ID;
     this.GivenName  = obj.GivenName;
     this.FamilyName = obj.FamilyName;
 }
        private static List <Indico.BusinessObjects.VisualLayoutCoordinatorsBO> IQueryableToList(IQueryable <Indico.DAL.VisualLayoutCoordinators> oQuery)
        {
            List <Indico.DAL.VisualLayoutCoordinators> oList = oQuery.ToList();
            List <Indico.BusinessObjects.VisualLayoutCoordinatorsBO> rList = new List <Indico.BusinessObjects.VisualLayoutCoordinatorsBO>(oList.Count);

            foreach (Indico.DAL.VisualLayoutCoordinators o in oList)
            {
                Indico.BusinessObjects.VisualLayoutCoordinatorsBO obj = new Indico.BusinessObjects.VisualLayoutCoordinatorsBO(o);
                rList.Add(obj);
            }
            return(rList);
        }
        /// <summary>
        /// Deserializes Indico.BusinessObjects.VisualLayoutCoordinatorsBO object from an XML representation
        /// </summary>
        /// <param name="strXML">a XML string serialized representation</param>
        public Indico.BusinessObjects.VisualLayoutCoordinatorsBO DeserializeObject(string strXML)
        {
            Indico.BusinessObjects.VisualLayoutCoordinatorsBO objTemp = null;
            System.Xml.XmlDocument objXML = new System.Xml.XmlDocument();

            objXML.LoadXml(strXML);
            System.Text.Encoding encoding = System.Text.Encoding.UTF8;

            System.IO.MemoryStream objStream = new System.IO.MemoryStream();
            byte[] b = encoding.GetBytes(objXML.OuterXml);

            objStream.Write(b, 0, (int)b.Length);
            objStream.Position = 0;
            System.Xml.Serialization.XmlSerializer x = new System.Xml.Serialization.XmlSerializer(this.GetType());

            objTemp = (Indico.BusinessObjects.VisualLayoutCoordinatorsBO)x.Deserialize(objStream);
            objStream.Close();
            return(objTemp);
        }