Exemple #1
0
        public static DataManagementTemplateSourceDependency CreateDataManagementTemplateSourceDependency(string templateId, string sourceEntity, string dependentOnEntity, string relationName, global::Microsoft.Dynamics.DataEntities.DataManagementTemplateSource templateSource)
        {
            DataManagementTemplateSourceDependency dataManagementTemplateSourceDependency = new DataManagementTemplateSourceDependency();

            dataManagementTemplateSourceDependency.TemplateId        = templateId;
            dataManagementTemplateSourceDependency.SourceEntity      = sourceEntity;
            dataManagementTemplateSourceDependency.DependentOnEntity = dependentOnEntity;
            dataManagementTemplateSourceDependency.RelationName      = relationName;
            if ((templateSource == null))
            {
                throw new global::System.ArgumentNullException("templateSource");
            }
            dataManagementTemplateSourceDependency.TemplateSource = templateSource;
            return(dataManagementTemplateSourceDependency);
        }
Exemple #2
0
 partial void OnTemplateSourceChanging(global::Microsoft.Dynamics.DataEntities.DataManagementTemplateSource value);