예제 #1
0
        //[DataMember]
        //public virtual Status Status { get; set; }
        //[DataMember]
        //public virtual IList<ContactEntityRelation> ContactEntityRelations { get; set; }


        public override Boolean Equals(object obj)
        {
            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }
            ContactPosition castObj = (ContactPosition)obj;

            return((castObj != null) &&
                   (this.ContactPositionID == castObj.ContactPositionID));
        }
예제 #2
0
        public IList<ContactPosition> Select(ContactPosition data)
        {

                IList<ContactPosition> datos = new List<ContactPosition>();

                datos = GetHsql(data).List<ContactPosition>();
                if (!Factory.IsTransactional)
                    Factory.Commit();
                return datos;
            
        }
예제 #3
0
 public void DeleteContactPosition(ContactPosition data) { Factory.DaoContactPosition().Delete(data); }
예제 #4
0
 public void UpdateContactPosition(ContactPosition data) { Factory.DaoContactPosition().Update(data); }
예제 #5
0
 public ContactPosition SaveContactPosition(ContactPosition data) { return Factory.DaoContactPosition().Save(data); }
예제 #6
0
 public IList<ContactPosition> GetContactPosition(ContactPosition data) { return Factory.DaoContactPosition().Select(data); }
예제 #7
0
 public ContactPosition SelectById(ContactPosition data)
 {
     return (ContactPosition)base.SelectById(data);
 }
예제 #8
0
 public Boolean Delete(ContactPosition data)
 {
     return base.Delete(data);
 }
예제 #9
0
 public Boolean Update(ContactPosition data)
 {
     return base.Update(data);
 }
예제 #10
0
 public ContactPosition Save(ContactPosition data)
 {
     return (ContactPosition)base.Save(data);
 }