CWIZO wrote:I don't know what 'mean' would be. But have you looked at the Random class?Mean is the average ((val1 + val2 +. ValN-1 + valN)/N ) value. Random has a designed mean of (MinVal+MaxVal)/2. To do what the OP wants where the mean could be located elsewhere would need a way to define the relative distribution. For the general implementation you'd need a parameter on the line of f(x) = where F(x) is defined over the range min.max and has a global maxima at mean. F(x) would scale the random value given a random value R.
You'd return K defined that Integral(f(k), min value,k) = R. Integral f(x) would need scaled to normalize the return. For a specfic distribution you could try hardcoding it instead of taking a function as aparameter. You could try examing (large) 3rd party math libraries, but I suspect this is something that you'll need to write yourself.All of this is off the top of my head, and I don't know how to do the implementation. System.Xml.Serialization.XmlAttribute(Namespace='string schemaLocation = 'Namespace pathSchemaName.xsd';I can get it in by adding this to the C# file autogenerated by the XSD tool, but this is obviously a suboptimum solution. I know for a fact that when I update the schema and rerun XSD several months later I'll forget I need to modify the file again.
Is there a way I can do this from either a wrapper class or the IO class using filestreams and serializers? Spin vector 20-Mar-06 8:1020-Mar-06 8:10I have a base-class B where I put all my slowly changing, somewhat generic stuff. On top of that I intend to have a class C: B; in words, C inherits from B.What's the best way to build the interface(s)?
I can imagine IB, so B: IB. How do I structure an interface for C?
Do I build one global interface for (C: B)? Or perhaps C: IC, B (but I don't really know that means, well, I could guess).Please advise.(Also, I suppose I could use composition, but I'm not yet fluent with that design pattern).Thx. That depends on how you want to use it. Are the functionalities of B and c good seperated?
Ibmda400 Ole Db Provider Connection String
Do you always when you work on C also need the base functionality from B?If both contents are totally seperated I would use the following:B: IB; C: IC, BIf not:B: IB; IBC: IB, IC; C: IBCBut again: It greatly depends on what your are actually trying to do and how the classes are logically bound together.Last Visit: 30-Nov-19 11:06 Last Update: 30-Nov-19 11:06. 11310General News Suggestion Question Bug Answer Joke Praise Rant AdminUse Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.
I've currently had a SQL Server 2008 server, which we now need to migrate to a newer edition.We have a couple of linked servers which I have not set up personally which utilizes a provider called IBMDASQL in SSMS. It appears as if the previous collegue responsible for this set up has used the link in order to set up these connections.However, when I try to run the Setup.exe from the installation I get an immediate error telling me that I have a Standard edition which is not supported, and I can see from the documentation that only SQL Server 2008 is supported.How can I set up a OLE DB Provider for IBMDASQL (I need to get this working with a ISerie Connection)?EDITI've tried to install OleDB provider for DB2 from Microsoft, and it installed successfully. It was even included in my Providers list in Management Studio, but when I tried to set up a Connection using the same name for provider etc. As the previous Connection had, I got the error that The OLD DB provider 'DB2OLEDB' for linked server abc reported an error. cannot initialize data source object of OLE DB provider DB2OLEDB for linked server abc.
The same server used IBMDASQL earlier. I thought it was 'included' in the DB2 OLE DB providerOn my previous installation I had the following settings:Provider: IBM DB2 UDB for iSeries IBMDASQL OLE DB ProviderProduct name: ISeriesData Source: an IP numberProvider string:Location:Catalog: foothe only difference I have in the new Connection is thatProvider: Microsoft OLE DB Provider for DB2is used instead. Do I miss any steps? @DavidBrowne-Microsoft Thanks for replying! I've tried to install OleDB provider for DB2 from Microsoft, and it installed successfully. It was even included in my Providers list in Management Studio, but when I tried to set up a Connection using the same name for provider etc. As the previous Connection had, I got the error that The OLD DB provider 'DB2OLEDB' for linked server abc reported an error.
cannot initialize data source object of OLE DB provider DB2OLEDB for linked server abc. The same server used IBMDASQL earlier.
I thought it was 'included' in the DB2 OLE DB provider–Dec 19 '17 at 9:54. If you want to use the Microsoft provider, you'd need to use the Microsoft provider's name and not IBM's provider name.The IBM provider is/was part of Client Access for Windows. You don't mention what version you are trying to install, but the latest is v7r1 and it supports up to Windows 8.1.IBM has replaced client Access for Windows with the new.
ACS is split into two packages, an OS independent package and a OS dependent one.The OLEDB driver is part of the ACS Windows Application Package.Both the Client Access for Windows and the ACS Windows application package are licensed software and available only through IBM's. You'll need your IBM i folks to download it for you, or help you get access.