top-image

Archives for DEVELOPMENT

Documentum : Relation MAIL With External Internal Attachments (dm_relation, content_attr_name, content_attr_value…)
Hello, Just a mini post concerning the persistence/saving of MAIL document with external/internal attachments. Here, 2 solutions for the relation between MAIL document and its attachments in Documentum. For external attachment of MAIL document, a simple solution is the creation of dm_document/dmr_content for each external attachment and the creation of dm_relation with specific type (relation_name = 'mail_attachment') for the link between attachments ...more»
CSharp/C# : Custom Logging Service With NLog
Hi, Here, an simple example of use of logging platform NLog in C# projects. Or course, you need add reference to Nlog package in your project via NuGet Package Manager. NLog is a free logging platform for .NET, NETSTANDARD, Xamarin, Silverlight and Windows Phone with rich log routing and management capabilities. NLog makes it easy to produce and manage high-quality logs for ...more»
CSharp/C# : Get the source folder path of CSharp class
Hi, Here, an example to get the source folder path of CSharp class via a static method and the package System.Runtime.CompilerServices. In fact, we solicit the compiler in order to get some informations about caller (caller line number, caller method, caller file path): https://msdn.microsoft.com/fr-fr/library/system.runtime.compilerservices.callermembernameattribute(v=vs.110).aspx.   ...in the caller method, for example a simple Program.cs, some parameters Callerxxxx are set by compiler: That's all!!!! Huseyin ...more»
CSharp/C# : Generate Custom Types from XSD file, XmlSerializer, XML Validation
Hi, A post with concrete examples concerning the generation of Types/POJO from a XSD file, the serialization of these objects/POJO to XML and finally the validation of XML with XSD. Generate Custom Types from XSD file XSD file myXsdFile.xsd:   CSharp sources and types generator: //....     After execution, a CSharp file MyCustomTypes.cs containing all types of XSD file is generated:       Serialization of objects to XML Instantiation of POJO objects ...more»
Page 1 of 42:1 2 3 4 »Last »
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.