///<summary>Updates an existing EmailAutograph in the database.</summary>
 public static void Update(EmailAutograph emailAutograph)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         Meth.GetVoid(MethodBase.GetCurrentMethod(), emailAutograph);
         return;
     }
     Crud.EmailAutographCrud.Update(emailAutograph);
 }
        /////<summary>Gets one EmailAutograph from the db.</summary>
        //public static EmailAutograph GetOne(long emailAutographNum){
        //	if(RemotingClient.RemotingRole==RemotingRole.ClientWeb){
        //		return Meth.GetObject<EmailAutograph>(MethodBase.GetCurrentMethod(),emailAutographNum);
        //	}
        //	return Crud.EmailAutographCrud.SelectOne(emailAutographNum);
        //}

        ///<summary>Insert one EmailAutograph in the database.</summary>
        public static long Insert(EmailAutograph emailAutograph)
        {
            if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
            {
                emailAutograph.EmailAutographNum = Meth.GetLong(MethodBase.GetCurrentMethod(), emailAutograph);
                return(emailAutograph.EmailAutographNum);
            }
            return(Crud.EmailAutographCrud.Insert(emailAutograph));
        }