Skip to content

Seddryck/samoSsas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

samoSsas

SamoSsas is an API over the API of the AMO objects. It's specifically designed for an effective way to handle the processing of cubes and monitor it.

project status

Continuous Integration

A continuous integration service is available on AppVeyor at https://ci.appveyor.com/project/CdricLCharlier/samossas/ Note that all the tests are not executed on this environment due to limitations in the availability of some components (SSAS).

Build status

HelloWorld sample

public class SamossasSaysHelloWorld
{    
    private static string dbName = "Adventure Works DW 2012";
    private static string connString = @"Provider=MSOLAP.4;Data Source=(local)\SQL2014;Initial Catalog='Adventure Works DW 2012'";

    static void Main(string[] args)
    {
        var dimensions = new[] { "Customer", "Date" };

        var monitor = new TraceMonitor();
        monitor.BeginProcess += delegate (object sender, BeginProcessEventArgs e)
        {
            Console.WriteLine("Start process of '" + e.Object.Name + "' at " + e.Timing.ToString("hh:mm:ss.ffff"));
        };
        
        monitor.EndProcess += delegate(object sender, EndProcessEventArgs e)
        {
            Console.WriteLine("{0} process of '{1}' at {2}"
                , e.Success ? "Successful" : "Failed"
                , e.Object.Name
                , e.Timing.ToString("hh:mm:ss.ffff"));
        };

        var processor = new Processor(new[] { monitor });
        processor.Connect(connString, dbName);
        processor.ProcessDimensions(dimensions);
    }
}

About

SamoSsas is an API over the API of the AMO objects. It's specifically designed for an effective way to handle the processing of cubes and monitor it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages