예제 #1
0
        public Pacientes()
        {
            Nacionalidad      = new Nacionalidad();
            autoidetificacion = new Autoidetificacion();
            afiliadoPaciente  = new AfiliadoPaciente();
            grupoPrioritario  = new GrupoPrioritario();
            provincia         = new Provincia();
            canton            = new Canton();
            parroquia         = new Parroquia();

            sexo = new Sexo();
        }
예제 #2
0
파일: Canton.cs 프로젝트: ferbenor/moro
 public override int CompareTo(object obj)
 {
     if (obj is Canton)
     {
         Canton oVar = obj as Canton;
         return(String.Compare(this.ToString(), oVar.ToString(), true));
     }
     else if (obj is string)
     {
         return(String.Compare(this.ToString(), obj as string));
     }
     else
     {
         return(-1);
     }
 }