Ejemplo n.º 1
0
        public NetOffice.ExcelApi.ModelRelationship Add(NetOffice.ExcelApi.ModelTableColumn foreignKeyColumn, NetOffice.ExcelApi.ModelTableColumn primaryKeyColumn)
        {
            object[] paramsArray = Invoker.ValidateParamsArray(foreignKeyColumn, primaryKeyColumn);
            object   returnItem  = Invoker.MethodReturn(this, "Add", paramsArray);

            NetOffice.ExcelApi.ModelRelationship newObject = Factory.CreateKnownObjectFromComProxy(this, returnItem, NetOffice.ExcelApi.ModelRelationship.LateBindingApiWrapperType) as NetOffice.ExcelApi.ModelRelationship;
            return(newObject);
        }
Ejemplo n.º 2
0
 public NetOffice.ExcelApi.ModelRelationship Add(NetOffice.ExcelApi.ModelTableColumn foreignKeyColumn, NetOffice.ExcelApi.ModelTableColumn primaryKeyColumn)
 {
     return(Factory.ExecuteKnownReferenceMethodGet <NetOffice.ExcelApi.ModelRelationship>(this, "Add", NetOffice.ExcelApi.ModelRelationship.LateBindingApiWrapperType, foreignKeyColumn, primaryKeyColumn));
 }