コード例 #1
0
        public virtual object Clone()
        {
            TileAssignment clone = new TileAssignment();

            clone.IdProfileType = IdProfileType;
            clone.IdRole        = IdRole;
            clone.IdPerson      = IdPerson;
            clone.Type          = Type;
            return(clone);
        }
コード例 #2
0
        public virtual TileAssignment Copy(Tile tile, litePerson person, String ipAddress, String ipProxyAddress, DateTime?createdOn = null)
        {
            TileAssignment t = new TileAssignment();

            t.CreateMetaInfo(person, ipAddress, ipProxyAddress, createdOn);

            t.IdProfileType = IdProfileType;
            t.IdRole        = IdRole;
            t.IdPerson      = IdPerson;

            return(t);
        }