![]() | RemDocumentAddRelation Method |
Namespace: Paperwork.Connect
public a_GenericResult AddRelation( string masterId, string clientId, string relationType )
public void AddRelation() { string masterId = "FF0001000000850C"; string clientId = "FF00010000008526"; string relationType = "ONEWAY"; a_GenericResult retval = p.rDocument.AddRelation(masterId, clientId, relationType); if (retval.ErrorCode != 0) throw new Exception(retval.Message); else { Console.WriteLine("Belgeler başarılı bir şekilde ilişkkilendirilmiştir."); Console.WriteLine("Master ID: " + masterId); Console.WriteLine("Client ID: " + clientId); Console.WriteLine("Relation Type: " + relationType); } Console.ReadLine(); }